Explorar el Código

celeryev crashed when the terminal window was resized. Closes #160

Ask Solem hace 15 años
padre
commit
f7286972b9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/bin/celeryev.py

+ 1 - 1
celery/bin/celeryev.py

@@ -471,7 +471,7 @@ def eventtop():
         while True:
             try:
                 conn.connection.drain_events()
-            except socket.timeout:
+            except (socket.timeout, socket.error):
                 pass
     except Exception:
         refresher.shutdown = True