diff options
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r-- | kafka/client_async.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py index e36d78e..1350503 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -947,7 +947,7 @@ class DelayedTaskQueue(object): """Number of seconds until next task is ready.""" self._drop_removed() if not self._tasks: - return 9999999999 + return float('inf') else: return max(self._tasks[0][0] - time.time(), 0) |