Skip to content

Commit

Permalink
connect timeout fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 30, 2019
1 parent ab7cda3 commit 02d5b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multildap/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def set_strategy(self, strategy_type):
def ensure_connection(self):
search_kwargs = copy.deepcopy(self.conf['search'])
search_kwargs['size_limit'] = 1
search_kwargs['timeout'] = self.conf['server']['connect_timeout']
search_kwargs['connect_timeout'] = self.conf['server']['connect_timeout']
if self.conn and not self.conn.closed:
try:
self.conn.search(**search_kwargs)
Expand Down

0 comments on commit 02d5b7e

Please sign in to comment.