Begin switching away from Redis
This commit is contained in:
@@ -36,7 +36,7 @@ class Ingest(object):
|
||||
items = []
|
||||
# for source in SOURCES:
|
||||
# key = f"{KEYPREFIX}{source}"
|
||||
chunk = await db.ar.spop(KEYNAME, CHUNK_SIZE)
|
||||
chunk = await db.ar.zpop(KEYNAME, CHUNK_SIZE)
|
||||
if not chunk:
|
||||
return
|
||||
for item in chunk:
|
||||
|
||||
Reference in New Issue
Block a user