Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dispatch should be event-based #42

Open
yoe opened this issue Jul 20, 2017 · 0 comments
Open

dispatch should be event-based #42

yoe opened this issue Jul 20, 2017 · 0 comments
Milestone

Comments

@yoe
Copy link
Owner

yoe commented Jul 20, 2017

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 yoe added this to the 1.0 milestone Jul 20, 2017
@yoe yoe added the enhancement label Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant