chg: Insert more IPs at once in ARDB
parent
89796618a0
commit
85040ff93c
|
@ -31,7 +31,7 @@ class DatabaseInsert():
|
|||
while True:
|
||||
if shutdown_requested():
|
||||
break
|
||||
uuids = self.redis_sanitized.spop('to_insert', 100)
|
||||
uuids = self.redis_sanitized.spop('to_insert', 1000)
|
||||
if not uuids:
|
||||
break
|
||||
p = self.redis_sanitized.pipeline(transaction=False)
|
||||
|
|
Loading…
Reference in New Issue