feat: cleanup

This commit is contained in:
Christy Jacob committed 2024-12-17 20:41:16 +05:30
1 parent 9b338b6d06
commit 1dfcdaca0e
1 file changed
+1 -1
+1 -1
View File
@@ -88,7 +88,7 @@ class Redis extends TimeLimit
{
// TODO limit potential is SCAN but needs cursor no offset
$cursor = null;
$keys = $this->redis->scan($offset, self::NAMESPACE . '__*', $limit);
$keys = $this->redis->scan($cursor, self::NAMESPACE . '__*', $limit);
if (!$keys) {
return [];
}