Explorar o código

Redis Backend: Increases default socket timeout from 5 to 120 (Issue #3363)

Ask Solem %!s(int64=8) %!d(string=hai) anos
pai
achega
6d4ff8689b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/app/defaults.py

+ 1 - 1
celery/app/defaults.py

@@ -155,7 +155,7 @@ NAMESPACES = Namespace(
         max_connections=Option(type='int'),
         password=Option(type='string'),
         port=Option(type='int'),
-        socket_timeout=Option(5.0, type='float'),
+        socket_timeout=Option(120.0, type='float'),
     ),
     result=Namespace(
         __old__=old_ns('celery_result'),