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
import redis
redis = redis.StrictRedis(...) # global connection
def worker() -> list:
with redis.pipeline() as pipe:
"""push some command into pipe"""
result = pipe.execute()
return result
Is the worker function threadsafe?
thank you very much!
The text was updated successfully, but these errors were encountered:
frelion
changed the title
Is it threadsafe to connect to the same redis connection while using different pipeline at the same time?
Is it threadsafe to use different pipeline for the same connection at the same time?
Apr 24, 2024
Is the worker function threadsafe?
thank you very much!
The text was updated successfully, but these errors were encountered: