diff --git a/oio/account/backend.py b/oio/account/backend.py index 93ec6e2d0..7b7012364 100644 --- a/oio/account/backend.py +++ b/oio/account/backend.py @@ -200,7 +200,7 @@ class AccountBackend(RedisConnection): redis.call('HSET', lkey, 'marker', new_marker, 'mtime', mtime); - if table.getn(containers) <= tonumber(batch_size) then + if table.getn(containers) < tonumber(batch_size) then redis.call('DEL', lkey) return { 1 } end;