diff options
-rw-r--r-- | redis/sentinel.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/redis/sentinel.py b/redis/sentinel.py index 9df2997..11263d2 100644 --- a/redis/sentinel.py +++ b/redis/sentinel.py @@ -1,4 +1,3 @@ -import os import random import weakref @@ -125,17 +124,6 @@ class SentinelConnectionPool(ConnectionPool): pass raise SlaveNotFoundError('No slave found for %r' % (self.service_name)) - def _checkpid(self): - if self.pid != os.getpid(): - self.disconnect() - self.reset() - self.__init__(self.service_name, self.sentinel_manager, - is_master=self.is_master, - check_connection=self.check_connection, - connection_class=self.connection_class, - max_connections=self.max_connections, - **self.connection_kwargs) - class Sentinel(object): """ |