Commit e5ccd02
authored
chore: Optimize
There was very long interval for the healthcheck of `dev-chain-fast`.
That's why the startup of `streamr-docker-dev` chain services was
usually very slow. Reduced the interval significantly.
Also improved `--wait` arg to log warnings sooner, and reduced the poll
interval so that we can exit polling sooner.
## Statistics
Before this PR typical chain service startup took about 90s, now it
takes about 24s.
```
streamr-docker-dev wipe
time streamr-docker-dev start dev-chain-fast deploy-network-subgraphs-fastchain --wait
```dev-chain-fast healthcheck (#241)1 parent ce94163 commit e5ccd02
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
| 181 | + | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments