forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita3f17b9
committed
Wake up launcher when enabling a subscription
Otherwise one would have to wait up to DEFAULT_NAPTIME_PER_CYCLE untilthe subscription worker is considered for starting.There is a small race condition: If one enables a subscription rightafter disabling it, the launcher might not have registered the stoppingwhen receiving the wakeup signal for the re-enabling. The start willthen not happen right away but after the full cycle time.Author: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>1 parentef0ba57 commita3f17b9
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
644 | 644 |
| |
645 | 645 |
| |
646 | 646 |
| |
| 647 | + | |
| 648 | + | |
| 649 | + | |
647 | 650 |
| |
648 | 651 |
| |
649 | 652 |
| |
|
0 commit comments
Comments
(0)