diff --git a/src/hydra-queue-runner/queue-monitor.cc b/src/hydra-queue-runner/queue-monitor.cc --- a/src/hydra-queue-runner/queue-monitor.cc +++ b/src/hydra-queue-runner/queue-monitor.cc @@ -42,7 +42,7 @@ void State::queueMonitorLoop() /* Sleep until we get notification from the database about an event. */ if (done && !quit) { - conn->await_notification(); + conn->await_notification(5*60, 0); nrQueueWakeups++; } else