eli02 commited on
Commit
a077ad9
·
1 Parent(s): e093343

Increase QUEUE_THRESHOLD from 10 to 100 to allow for larger batch processing in the sync loop

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -327,7 +327,7 @@ async def search(
327
  # new constants
328
  QUEUE_FILE = "./save_queue.jsonl"
329
  PUSH_INTERVAL_S = 300 # seconds
330
- QUEUE_THRESHOLD = 10
331
  MAX_PUSH_INTERVAL_S = 47 * 3600 # 44 hours
332
 
333
  # background task to batch-push queued records
 
327
  # new constants
328
  QUEUE_FILE = "./save_queue.jsonl"
329
  PUSH_INTERVAL_S = 300 # seconds
330
+ QUEUE_THRESHOLD = 100
331
  MAX_PUSH_INTERVAL_S = 47 * 3600 # 44 hours
332
 
333
  # background task to batch-push queued records