hydra-queue-runner: Allow concurrent notifications
[?]
Jul 24, 2017, 2:33 PM
HZZCYIYTIZ7PUGXNMZSEO463LS4VO7ADUH3QPZQCLMBTPPPOOJSQCDependencies
- [2]
IE2PRAQUhydra-queue-runner: Send build notifications - [3]
XV4AEKJChydra-queue-runner: Handle status queries on the main thread - [4]
7LWB2J2ZPeriodically clear orphaned build steps - [5]
GS4BE6TBAsynchronously compress build logs - [*]
24BMQDZAStart of single-process hydra-queue-runner
Change contents
- replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 836
std::thread(&State::notificationSender, this).detach();auto maxConcurrentNotifications = config->getIntOption("max-concurrent-notifications", 2);for (uint64_t i = 0; i < maxConcurrentNotifications; ++i)std::thread(&State::notificationSender, this).detach();