Skip to content
Snippets Groups Projects
Commit d31d8e80 authored by Erik Reid's avatar Erik Reid
Browse files

added a larger count param to scan_iter

parent d97b4a22
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@ def routers(access):
def _routers():
i = 0
for k in redis.scan_iter('ims:lg:*'):
for k in redis.scan_iter('ims:lg:*', count=1000):
rtr = redis.get(k.decode('utf-8')).decode('utf-8')
rtr = json.loads(rtr)
i += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment