From 85040ff93cc5211feb4acef738f22bd76210b462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 26 Nov 2018 14:57:06 +0100 Subject: [PATCH] chg: Insert more IPs at once in ARDB --- bgpranking/dbinsert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpranking/dbinsert.py b/bgpranking/dbinsert.py index 0e168fa..9106432 100644 --- a/bgpranking/dbinsert.py +++ b/bgpranking/dbinsert.py @@ -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)