Only wait 5s for provisioning if announcement was published

This commit is contained in:
DanConwayDev committed 2025-10-30 11:52:49 +00:00
1 parent 677103a1f1
commit bd61f93174
1 file changed
+5 -2
+5 -2
View File
@@ -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;