- Notifications
You must be signed in to change notification settings - Fork28
Commitfc8b39a
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 parentdcf2a0d commitfc8b39a
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
844 | 844 |
| |
845 | 845 |
| |
846 | 846 |
| |
| 847 | + | |
847 | 848 |
| |
848 | 849 |
| |
849 | 850 |
| |
|
0 commit comments
Comments
(0)