SReview icon indicating copy to clipboard operation
SReview copied to clipboard

dispatch should be event-based

Open yoe opened this issue 7 years ago • 0 comments

Currently, dispatch polls the database every 30 seconds. While that works, it has obvious drawbacks.

Instead, it should use Mojo::Pg::PubSub to listen for notifications, and the database should send those notifications from a trigger or some such. This will eliminate many delays.

yoe avatar Jul 20 '17 08:07 yoe