hirosystems / hirosystems/stacks-devnet-api
remove `sleep(Duration::from_secs(5));` from `deploy_devnet`
- Vorherrschende Sprache
- Rust
- Sterne
- 2
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Currently when deploying a devnet, we sleep for 5 seconds to allow the bitcoin node to get initialized before starting the stacks node.
The chain coordinator should communicate with the API server to indicate that the bitcoin node is ready, and _then_ the subsequent nodes should be deployed.
Beitragsleitfaden
Rechercherichtung
Start at deploy_devnet and locate the fixed sleep after the bitcoin node is deployed. Trace how the chain coordinator and API server currently communicate, then determine how readiness should be signaled before subsequent nodes start. Done means deployment no longer relies on the five-second delay and waits for bitcoin readiness instead.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- backend, backend-api-design
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100