chg: More reasonable insert chunks

pull/12/head
Raphaël Vinot 2018-04-10 14:14:04 +02:00
parent c20175fce6
commit 4a2db70a26
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class DatabaseInsert():
while True:
if shutdown_requested():
break
uuids = self.redis_sanitized.spop('to_insert', 1000)
uuids = self.redis_sanitized.spop('to_insert', 100)
if not uuids:
break
p = self.redis_sanitized.pipeline(transaction=False)