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
When using celery to process tasks, it is not possible to connect to Cassandra due to timeout.
Maybe this is related to this observation: Just be sure to never share any Cluster, Session, or ResponseFuture objects across multiple processes. These objects should all be created after forking the process, not before.
Hi Rafał,
When using celery to process tasks, it is not possible to connect to Cassandra due to timeout.
Maybe this is related to this observation: Just be sure to never share any Cluster, Session, or ResponseFuture objects across multiple processes. These objects should all be created after forking the process, not before.
This issue is described at:
http://stackoverflow.com/questions/24785299/python-cassandra-driver-operationtimeout-on-every-query-in-celery-task
but is most related to the Datastax driver.
Is there a way to create a new session inside every task worker?
Kind regards
ssjunior
The text was updated successfully, but these errors were encountered: