bdr: Improve sequencer wakeup logic.
authorAndres Freund <andres@anarazel.de>
Fri, 4 Apr 2014 11:07:03 +0000 (13:07 +0200)
committerAndres Freund <andres@anarazel.de>
Thu, 3 Jul 2014 15:55:23 +0000 (17:55 +0200)
commitf35c68d64786c765ea47ed1e1e1848741a77c460
treeb390eeb92b78d6f6673bdacf1132ce7bbdbdfdd7
parentcd0b3813e6a3c85fe904bc85686b50e37d3d42cb
bdr: Improve sequencer wakeup logic.

Schedule a sequencer wakeup at EOXact whenever a sequence is created
or it's setttings are modified. This allows to significantly decrease
the frequency of unneccessary sequencer wakeups and also significantly
reduces the time until a new sequence is initialized.
contrib/bdr/bdr.c
contrib/bdr/bdr_seq.c