Skip to content

Commit

Permalink
account: fix early exit when refreshing by batch
Browse files Browse the repository at this point in the history
  • Loading branch information
laitassou committed May 3, 2022
1 parent 3655b9e commit 2a0868f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oio/account/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a0868f

Please sign in to comment.