From 23df93ce9758bc3bebf3470710667ea23bbe2f79 Mon Sep 17 00:00:00 2001 From: adamwojtkiewicz Date: Thu, 2 Sep 2021 23:59:47 +0200 Subject: [PATCH] fixes "not a float" error Fixes error: Failed to retrieve message from queue. Redis Error: ERR min or max is not a float --- src/Transport/RedisTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transport/RedisTransport.php b/src/Transport/RedisTransport.php index fe6adc5..ca0bf4f 100644 --- a/src/Transport/RedisTransport.php +++ b/src/Transport/RedisTransport.php @@ -81,7 +81,7 @@ public function get(): iterable { $this->getDelayedSetName(), $this->queue, $this->getProcessingQueue(), - microtime(true) * 1000, + round(microtime(true) * 1000), ], 4); if ($this->redis->getLastError()) {