mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
feat: cleanup
This commit is contained in:
1 parent
9b338b6d06
commit
1dfcdaca0e
1 file changed
+1
-1
@@ -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 [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user