fix(userevent): ignore subscribe notifications in userevents
[Fixes #138007389]
This commit is contained in:
parent
5ce3e7cdcd
commit
28813159e5
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class UserEventListener(object):
|
|||
|
||||
try:
|
||||
self._redis = redis.StrictRedis(socket_connect_timeout=5, **redis_config)
|
||||
self._pubsub = self._redis.pubsub()
|
||||
self._pubsub = self._redis.pubsub(ignore_subscribe_messages=True)
|
||||
self._pubsub.subscribe(channels)
|
||||
except redis.RedisError as re:
|
||||
logger.exception('Could not reach user events redis: %s', re)
|
||||
|
|
Reference in a new issue