Browse Source

Reduce parallelism while debugging postgres related stuff

jherve 1 year ago
parent
commit
4c24edf277
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/de_quoi_parle_le_monde/snapshots.py

+ 2 - 2
src/de_quoi_parle_le_monde/snapshots.py

@@ -213,10 +213,10 @@ async def main():
 
     async with InternetArchiveClient.create() as ia:
         workers = {
-            SearchWorker(queue, storage, ia): 3,
+            SearchWorker(queue, storage, ia): 1,
             FetchWorker(queue, ia): 3,
             ParseWorker(queue): 3,
-            StoreWorker(queue, storage): 3,
+            StoreWorker(queue, storage): 1,
         }
 
         async with asyncio.TaskGroup() as tg: