forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1459e84
committed
Don't auto-restart per-database autoprewarm workers.
We should try to prewarm each database only once. Otherwise, ifprewarming fails for some reason, it will just keep retrying in aninfnite loop. This can happen if, for example, the database has beendropped. The existing code was intended to implement the try-oncebehavior, but failed to do so because it neglected to setworker.bgw_restart_time to BGW_NEVER_RESTART.Mithun Cy, per a report from Hans BuschmannDiscussion:http://postgr.es/m/CA+hUKGKpQJCWcgyy3QTC9vdn6uKAR_8r__A-MMm2GYfj45caag@mail.gmail.com1 parent6776142 commit1459e84
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
840 | 840 |
| |
841 | 841 |
| |
842 | 842 |
| |
| 843 | + | |
843 | 844 |
| |
844 | 845 |
| |
845 | 846 |
| |
|
0 commit comments
Comments
(0)