From bd273e0ec1da7f0479b11c5e64345dc78ef45e02 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Thu, 17 Apr 2025 21:05:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=B9=B6=E5=8F=91=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E7=9A=84=E9=99=90=E6=B5=81=E6=9C=BA=E5=88=B6=EF=BC=8C?= =?UTF-8?q?=E5=B0=86=E4=BF=A1=E5=8F=B7=E9=87=8F=E4=BB=8E=205=20=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=201=EF=BC=8C=E4=BB=A5=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E6=89=A7=E8=A1=8C=E7=9A=84=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=95=B0=E9=87=8F?= 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 838a6d7..b2f97d8 100644 --- a/sync.py +++ b/sync.py @@ -39,7 +39,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(1) async def limited_task(task): async with semaphore: