From 0dc0e5e135dbae0c952a3064f06423d7ccba3204 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Sun, 20 Apr 2025 15:37:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BF=A1=E5=8F=B7=E9=87=8F?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=EF=BC=8C=E4=BB=8E=205=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=B0=2020=EF=BC=8C=E4=BB=A5=E6=8F=90=E9=AB=98=E5=B9=B6?= =?UTF-8?q?=E5=8F=91=E4=BB=BB=E5=8A=A1=E7=9A=84=E5=A4=84=E7=90=86=E8=83=BD?= =?UTF-8?q?=E5=8A=9B?= 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 bcbb2cf..ea4d4b1 100644 --- a/sync.py +++ b/sync.py @@ -68,7 +68,7 @@ async def docker_build_task(dockerfile: str, target: str) -> int | None: return r return 0 -semaphore = asyncio.Semaphore(5) +semaphore = asyncio.Semaphore(20) async def limited_task[T: Any](semaphore: asyncio.Semaphore, task: Callable[[], Coroutine[None, None, T]]) -> T: async with semaphore: