Prechádzať zdrojové kódy

Queue the right type of batch

Daoud Clarke 3 rokov pred
rodič
commit
ddc8664c11
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      mwmbl/crawler/app.py

+ 1 - 1
mwmbl/crawler/app.py

@@ -95,7 +95,7 @@ def create_batch(batch: Batch):
     upload(data, filename)
 
     record_urls_in_database(batch, user_id_hash, now)
-    queue_batch(batch)
+    queue_batch(hashed_batch)
 
     global last_batch
     last_batch = hashed_batch