diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-18 08:00:18 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-18 13:01:00 +0000 |
| commit | 10f5dd5f48659d6e99abc762d46be397d24b48d9 (patch) | |
| tree | 1c344dfabb9b0416dfcc165f54b1b2ab94d21308 /src/bin/ngit/sub_commands/create.rs | |
| parent | 3d4918fea3280fd6653ad138160aa7327ab9b36e (diff) | |
poll grasp servers for readiness instead of fixed 5s wait
Replace arbitrary 5-second countdown with active polling of grasp
servers during ngit init. Servers are checked every 1s with a 7s
timeout (2s in tests). Shows progress like '1/2 grasp servers ready'.
Grasp servers return 404 until the repo is provisioned, so we poll
until they accept git connections. Proceeds anyway on timeout rather
than failing, since some servers may still be initializing.
Diffstat (limited to 'src/bin/ngit/sub_commands/create.rs')
0 files changed, 0 insertions, 0 deletions