Commit 636f93d
committed
Increase monit timeout on Postgres job start
We've discovered a bug in the following scenario:
Using HA Postgres, with one node down, and the other attempting to
start.
The node attempting to start will take about 30-40 seconds to bootstrap,
waiting for the other node to potentially come online. By default,
`monit start` timeout is 30 seconds, which can in some cases cause a
loop where Postgres attempts to start and gets killed by monit in a
loop. This commit fixes that by extending the timeout to 60 seconds.1 parent aab76e0 commit 636f93d
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
0 commit comments