From bd61f9317441dfc3231bf12b281c60bbe3b9e750 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 30 Oct 2025 11:52:49 +0000 Subject: [PATCH] Only wait 5s for provisioning if announcement was published --- src/lib/git.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/git.ts b/src/lib/git.ts index 07bd01d2..3ea74fbe 100644 --- a/src/lib/git.ts +++ b/src/lib/git.ts @@ -1633,8 +1633,11 @@ export class Git { return; } - // Wait 5 seconds for GRASP servers to update - await new Promise(resolve => setTimeout(resolve, 5000)); + // Only wait 5 seconds if we had to publish the announcement to servers + if (serversNeedingAnnouncement.length > 0) { + console.log('Waiting 5 seconds for GRASP servers to process announcement...'); + await new Promise(resolve => setTimeout(resolve, 5000)); + } let pushSuccessful = false; let lastError: Error | null = null;