Revision e687ec01 lib/confd/client.py
b/lib/confd/client.py | ||
---|---|---|
333 | 333 |
elif peer_cnt < 5: |
334 | 334 |
return peer_cnt - 1 |
335 | 335 |
else: |
336 |
return int(peer_cnt/2) + 1
|
|
336 |
return int(peer_cnt / 2) + 1
|
|
337 | 337 |
|
338 | 338 |
def WaitForReply(self, salt, timeout=constants.CONFD_CLIENT_EXPIRE_TIMEOUT): |
339 | 339 |
"""Wait for replies to a given request. |
Also available in: Unified diff