mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-28 09:11:18 +00:00
add resilience
This commit is contained in:
@@ -62,7 +62,7 @@ if __name__ == "__main__":
|
||||
try:
|
||||
work_loop()
|
||||
except:
|
||||
log.exception()
|
||||
log.exception("In work loop:")
|
||||
log.error("Waiting 10s and restarting.")
|
||||
time.sleep(10)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user