X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.local%2Flib%2Fpython2.7%2Fsite-packages%2Ftrollius%2Fconstants.py;fp=.local%2Flib%2Fpython2.7%2Fsite-packages%2Ftrollius%2Fconstants.py;h=f9e123281e2e3b204dbae6f09f6b22fe06ed06e5;hb=be62f45026507330c54b0d3ace90aceb312e1841;hp=0000000000000000000000000000000000000000;hpb=812379a745a7f23788c538f26d71c84232bf09cc;p=dotfiles%2F.git diff --git a/.local/lib/python2.7/site-packages/trollius/constants.py b/.local/lib/python2.7/site-packages/trollius/constants.py new file mode 100644 index 00000000..f9e12328 --- /dev/null +++ b/.local/lib/python2.7/site-packages/trollius/constants.py @@ -0,0 +1,7 @@ +"""Constants.""" + +# After the connection is lost, log warnings after this many write()s. +LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5 + +# Seconds to wait before retrying accept(). +ACCEPT_RETRY_DELAY = 1