Skip to content

Commit

Permalink
Add attribute retry_on for configdb connection (sonic-net#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuqu authored and taoyl-ms committed Aug 25, 2017
1 parent 9b54b80 commit d476a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/swsssdk/configdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def __wait_for_db_init(self):
pubsub.punsubscribe(pattern)


def connect(self, wait_for_init=True):
SonicV2Connector.connect(self, self.CONFIG_DB, False)
def connect(self, wait_for_init=True, retry_on=False):
SonicV2Connector.connect(self, self.CONFIG_DB, retry_on)
if wait_for_init:
self.__wait_for_db_init()

Expand Down

0 comments on commit d476a25

Please sign in to comment.