diff options
author | lukeWx <4403510+lukekingbru@users.noreply.github.com> | 2017-12-07 13:59:58 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2017-12-07 13:59:58 -0800 |
commit | 009290ddd5d4616d70bff93f841e773af8b22750 (patch) | |
tree | df366e68ddab543fbc71e4977d35d4a5ef1bf8d2 /kafka/conn.py | |
parent | 5d1b13ef2812ddfe619495178f41e57b1fb640df (diff) | |
download | kafka-python-009290ddd5d4616d70bff93f841e773af8b22750.tar.gz |
use python standard max value (#1303)
Diffstat (limited to 'kafka/conn.py')
-rw-r--r-- | kafka/conn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/conn.py b/kafka/conn.py index 2d6e5ce..e20210a 100644 --- a/kafka/conn.py +++ b/kafka/conn.py @@ -607,7 +607,7 @@ class BrokerConnection(object): elif self.connecting(): return 0 else: - return 999999999 + return float('inf') def connected(self): """Return True iff socket is connected.""" |