An open source, non-profit web search engine
Temporarily stop recording batch stats to see if it helps with memory usage
Daoud Clarke3971d24bfb2e
diff --git a/mwmbl/crawler/app.py b/mwmbl/crawler/app.pyindex 55ea1d5..fbb6258 100644--- a/mwmbl/crawler/app.py+++ b/mwmbl/crawler/app.py@@ -94,7 +94,7 @@ def create_router(batch_cache: BatchCache, queued_batches: RedisURLQueue, versioepoch_time = (now - datetime(1970, 1, 1, tzinfo=timezone.utc)).total_seconds()hashed_batch = HashedBatch(user_id_hash=user_id_hash, timestamp=epoch_time, items=batch.items)- stats_manager.record_batch(hashed_batch)+ # stats_manager.record_batch(hashed_batch)data = gzip.compress(hashed_batch.json().encode('utf8'))upload(data, filename)