You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tasks that make remote requests can hang indefinitely if a socket connection is silently dropped. Since APScheduler will not run two instances of the same task at once then the situation never resolves itself without a restart of the scheduler. Simple solutions is to set:
socket._GLOBAL_DEFAULT_TIMEOUT = 60
to cause all socket connections to eventually timeout. This is likely the cause of Celery hanging on the simplecrypto/pool_list as well.
Manifested by Worker Count going to 0 on SimpleVert.com when a connection to a geo stratum was dropped.
Tasks that make remote requests can hang indefinitely if a socket connection is silently dropped. Since APScheduler will not run two instances of the same task at once then the situation never resolves itself without a restart of the scheduler. Simple solutions is to set:
socket._GLOBAL_DEFAULT_TIMEOUT = 60to cause all socket connections to eventually timeout. This is likely the cause of Celery hanging on the simplecrypto/pool_list as well.
Manifested by Worker Count going to 0 on SimpleVert.com when a connection to a geo stratum was dropped.