summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kombu/asynchronous/timer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kombu/asynchronous/timer.py b/kombu/asynchronous/timer.py
index 81a204bb..70951f11 100644
--- a/kombu/asynchronous/timer.py
+++ b/kombu/asynchronous/timer.py
@@ -155,7 +155,7 @@ class Timer:
return self._enter(eta, priority, entry)
def enter_after(self, secs, entry, priority=0, time=monotonic):
- return self.enter_at(entry, time() + secs, priority)
+ return self.enter_at(entry, time() + float(secs), priority)
def _enter(self, eta, priority, entry, push=heapq.heappush):
push(self._queue, scheduled(eta, priority, entry))