diff options
author | Tomas Vondra | 2016-10-13 11:22:49 +0000 |
---|---|---|
committer | Tomas Vondra | 2017-02-27 00:31:05 +0000 |
commit | 128ad6eb0c757c34b9332cd41e79efe6b73e887a (patch) | |
tree | 2463b8e67dc78ade6c8bb5548adc2fd191558f44 /client/utils/logging.py | |
parent | afafb8549915da7b1dddb3e355efef70586a26aa (diff) |
open connections in a way resilient to temporary failures
In case of connection failure (e.g. a backend getting terminated by
OOM killer and taking down the whole server), the workers failed
with an exception without putting a result into the queue, leading
to hangs.
This fixes that by making the workers resilient to connection issues
by catching the exceptions and terminating nicely. Also, we retry
connection several times, to continue with benchmarking even after
OOM hits us unexpectedly, etc.
Diffstat (limited to 'client/utils/logging.py')
0 files changed, 0 insertions, 0 deletions