20930: Concurrency optimization.
authorTom Clegg <tom@curii.com>
Sun, 10 Sep 2023 02:02:29 +0000 (22:02 -0400)
committerTom Clegg <tom@curii.com>
Tue, 12 Sep 2023 13:46:18 +0000 (09:46 -0400)
commit4ed6415ef859ccca13a46c77046f9febfb05bb2b
tree1921dda6743b70dc84a781b3584ecd742183287d
parent8aeb3c81d60d665a1ab83684c1615b003c1ebbca
20930: Concurrency optimization.

In handler, create the eventSink later, and call Stop() sooner, to
avoid needlessly blocking other sinks during other setup/teardown.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/ws/handler.go