ZiB пре 4 месеци
родитељ
комит
2de7f57a08
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      room_cal/service_api/_airbnb.py

+ 1 - 1
room_cal/service_api/_airbnb.py

@@ -324,7 +324,7 @@ class _AirbnbClient:
       dt = datetime.fromisoformat(ts.replace('Z', '+00:00'))
       return dt.astimezone(ZoneInfo(self._tz)).date().isoformat()
 
-    _sem = asyncio.Semaphore(3)
+    _sem = asyncio.Semaphore(15)
 
     async def fetch_details(c: str) -> tuple[str, str | None, str | None, str | None, str | None, str | None]:
       async with _sem: