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
commit 6c0bb909df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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