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