Skip to content
Permalink
Browse files

Classify EPIPE as retyable in the comm module

Broken Pipe errors are seen in communications with very loaded daemons.
  • Loading branch information...
cvaroqui committed Jul 22, 2019
1 parent dcb12e1 commit f56a2e6ff9a808d88e77930478c8c253a1c35840
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/comm.py
@@ -50,6 +50,7 @@ def to_bytes(x):
# add ECONNRESET, ENOTFOUND, ESOCKETTIMEDOUT, ETIMEDOUT, ECONNREFUSED, EHOSTUNREACH, EPIPE ?
RETRYABLE = (
11, # EBUSY
32, # EPIPE
146, # EREFUSED
149, # EALREADY
)

0 comments on commit f56a2e6

Please sign in to comment.
You can’t perform that action at this time.