Skip to content

Commit

Permalink
Merge pull request #534 from df3n5/master
Browse files Browse the repository at this point in the history
Sentinel connection pool discarding is_master flag on reset
  • Loading branch information
andymccurdy committed Sep 18, 2014
2 parents 499311a + 0451d8d commit 0de78db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redis/sentinel.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ def _checkpid(self):
self.disconnect()
self.reset()
self.__init__(self.service_name, self.sentinel_manager,
is_master=self.is_master,
connection_class=self.connection_class,
max_connections=self.max_connections,
**self.connection_kwargs)
Expand Down

0 comments on commit 0de78db

Please sign in to comment.