chg: Insert more IPs at once in ARDB

pull/12/head
Raphaël Vinot 2018-11-26 14:57:06 +01:00
parent 89796618a0
commit 85040ff93c
1 changed files with 1 additions and 1 deletions

View File

@ -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)