From 7a654259ff996348672729975b49b684d1ab2f8a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 17 Aug 2015 15:48:10 +0200 Subject: [PATCH] Wake the dispatcher when the machines file has changed --- src/hydra-queue-runner/hydra-queue-runner.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 43c865e2..1f3380f4 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -96,6 +96,8 @@ void State::loadMachinesFile() auto machines_(machines.lock()); *machines_ = newMachines; + + wakeDispatcher(); }