Commit 38f381c
committed
Add an option to control stop time randomness
The --stop-time-interval option sets the upper bound on the number of
random hours added to the --stop-time of the daemon. It is optional,
with default 9 to match the current daemon behaviour.
Setting the option to 0 will disable the randomness entirely. This is
useful for ensuring that daemons will stop at deterministic intervals.1 parent 9845659 commit 38f381c
File tree
4 files changed
+23
-3
lines changed- src
- app/cli/src/cli_entrypoint
- lib
- cli_lib
- mina_lib
4 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
550 | 558 | | |
551 | 559 | | |
552 | 560 | | |
| |||
1289 | 1297 | | |
1290 | 1298 | | |
1291 | 1299 | | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
1292 | 1304 | | |
1293 | 1305 | | |
1294 | 1306 | | |
| |||
1469 | 1481 | | |
1470 | 1482 | | |
1471 | 1483 | | |
1472 | | - | |
1473 | | - | |
| 1484 | + | |
| 1485 | + | |
1474 | 1486 | | |
1475 | 1487 | | |
1476 | 1488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1229 | 1229 | | |
1230 | 1230 | | |
1231 | 1231 | | |
1232 | | - | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1233 | 1238 | | |
1234 | 1239 | | |
1235 | 1240 | | |
| |||
0 commit comments