From 531ea9f1c268297b8283a3b7e9681d6675ea65bf Mon Sep 17 00:00:00 2001 From: Snowykami Date: Thu, 17 Apr 2025 21:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=99=90=E6=B5=81=E6=9C=BA?= =?UTF-8?q?=E5=88=B6=EF=BC=8C=E5=B0=86=E4=BF=A1=E5=8F=B7=E9=87=8F=E4=BB=8E?= =?UTF-8?q?=205=20=E6=9B=B4=E6=94=B9=E4=B8=BA=2050=EF=BC=8C=E4=BB=A5?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=9B=B4=E5=A4=9A=E5=B9=B6=E5=8F=91=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.py b/sync.py index 9a43c75..9d2a2fb 100644 --- a/sync.py +++ b/sync.py @@ -40,7 +40,7 @@ async def docker_push(image: str) -> int | None: print(f"Pushing image {image}...") return await run_command(f"docker push {image}") -semaphore = asyncio.Semaphore(5) +semaphore = asyncio.Semaphore(50) async def limited_task[T: Any](task: Callable[[], Coroutine[None, None, T]]) -> T: async with semaphore: