fix: Insert big chunks in ARDB is baster.
parent
ce96ad9825
commit
5670db9d1d
|
@ -24,7 +24,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