forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit12e6782
committed
> I enclose a short patch to reduce the PGARCH_RESTART_INTERVAL from 60
> seconds to 10 seconds. The original number was plucked from thin air> some months ago, and I'd like to review that now based upon further> thought, observation and experience.>> This change has little or no effect on performance, since the interval> is there mainly to avoid repeated respawn attempts if archiver fails at> startup. Archiver start-up time is very quick, so there is little danger> of exceeding 10 seconds.>> On a busy system, if the archiver does die, then many files can build up> in the 60 seconds before respawning. That xlog file backlog could take> some time to clear. This then leaves a larger than normal window of data> loss for a possibly long period.>> It's a minor change only, with no other effect on function.Simon Riggs1 parent4ea4f8b commit12e6782
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments
Comments
(0)