Merge pull request #704 from basvandijk/sleep-after-catch-exception

hydra-queue-runner: sleep 5s after handling an exception
This commit is contained in:
Eelco Dolstra
2020-04-01 13:04:31 +02:00
committed by GitHub

View File

@ -219,6 +219,7 @@ void State::monitorMachinesFile()
sleep(30);
} catch (std::exception & e) {
printMsg(lvlError, format("reloading machines file: %1%") % e.what());
sleep(5);
}
}
}