Commit b28c249
supervise-daemon: set default respawn-period to 12sec
currently respawn-period defaults to 0, which means if that a
services crashes 10 times (default respawn-max) in a period of 1
year, then supervise-daemon will just stop it completely. which
is very terrible default to say the least.
set it to 12sec by default instead. with the current default
respawn-delay of 0 and respawn-delay-step of 128ms it'd take
roughly ~6 seconds if a service instantly crashes 10 times
(current default respawn-max) in a row.1 parent 8e3637e commit b28c249
File tree
2 files changed
+4
-3
lines changed- man
- src/supervise-daemon
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
| 834 | + | |
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| |||
0 commit comments