mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 14:24:15 +02:00
setting default async worker load to 1
This commit is contained in:
@@ -91,7 +91,7 @@ class FlatpakAsyncDataLoader(Thread):
|
|||||||
|
|
||||||
class FlatpakAsyncDataLoaderManager:
|
class FlatpakAsyncDataLoaderManager:
|
||||||
|
|
||||||
def __init__(self, api_cache: Cache, worker_load: int = 3, workers: List[FlatpakAsyncDataLoader] = []):
|
def __init__(self, api_cache: Cache, worker_load: int = 1, workers: List[FlatpakAsyncDataLoader] = []):
|
||||||
self.worker_load = worker_load
|
self.worker_load = worker_load
|
||||||
self.current_workers = workers
|
self.current_workers = workers
|
||||||
self.http_session = requests.Session()
|
self.http_session = requests.Session()
|
||||||
|
|||||||
Reference in New Issue
Block a user