fix(stealth): bump Semaphore 6->8 for higher concurrency in gather

Per-object 7 endpoints через asyncio.gather упираются в semaphore limit.
6 -> 8 — ещё +33% concurrency для batch fetch'а.
This commit is contained in:
lekss361 2026-05-17 23:04:51 +03:00
parent 0f289c05b1
commit 2aa33e0eb8

View file

@ -104,7 +104,7 @@ class BrowserSession:
self._browser: Browser | None = None
self._context: BrowserContext | None = None
self._page: Page | None = None
self._sem = asyncio.Semaphore(6)
self._sem = asyncio.Semaphore(8)
self._request_count = 0
async def __aenter__(self) -> BrowserSession: