Skip to content

Commit 2a0868f

Browse files
committed
account: fix early exit when refreshing by batch
1 parent 3655b9e commit 2a0868f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oio/account/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class AccountBackend(RedisConnection):
200200
201201
redis.call('HSET', lkey, 'marker', new_marker,
202202
'mtime', mtime);
203-
if table.getn(containers) <= tonumber(batch_size) then
203+
if table.getn(containers) < tonumber(batch_size) then
204204
redis.call('DEL', lkey)
205205
return { 1 }
206206
end;

0 commit comments

Comments
 (0)