commit | a8b5a994c9de0e2a29e9dc9bbdb34ffe4b357483 | [log] [tgz] |
---|---|---|
author | Bert Muthalaly <stijlist@google.com> | Sun Jan 19 02:08:28 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sun Jan 19 02:08:28 2020 +0000 |
tree | 3c3a1d910d7167ea93dbee297f9194d15dabc052 | |
parent | d6e903e0368df3e7ea1852bc582efaea8a18b261 [diff] |
[netstack] don't eagerly log any Cobalt events ...obviating the need for package `schedule` and eliminating one potential flake in netstack_cobalt_integration_test, where the call to connect() would notify newSocketNotifications, logging events to cobalt before the corresponding call to accept() was observed. These eager calls to LogCobaltEvents were useful when they made the difference between netstack_cobalt_integration_test running in 60s vs 1s, but are less useful now, when the test takes ~240 seconds regardless. As a further simplification, we can remove the newSocketNotifications chan entirely (and inline socketMetadata's type Netstack pointer into its containing structs) at the small cost of only observing the current socket count to update socketCountMax every 60 seconds (vs on every socket creation). Bug: 44207 Change-Id: I968aa7707bc76cd6db677552f2765eb94f6dc069
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.