fix(userevent): ignore subscribe notifications in userevents

[Fixes #138007389]
This commit is contained in:
Evan Cordell 2017-01-20 11:29:04 -05:00
parent 5ce3e7cdcd
commit 28813159e5

View file

@ -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)