From 28813159e54ce3c1408099e01d81c908f02d5e60 Mon Sep 17 00:00:00 2001 From: Evan Cordell Date: Fri, 20 Jan 2017 11:29:04 -0500 Subject: [PATCH] fix(userevent): ignore subscribe notifications in userevents [Fixes #138007389] --- data/userevent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/userevent.py b/data/userevent.py index a5b7671ca..dcf1a1dd0 100644 --- a/data/userevent.py +++ b/data/userevent.py @@ -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)