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 available jobs when polling #24

Merged
merged 3 commits into from
Oct 4, 2018
Merged

Conversation

mbuhot
Copy link
Owner

@mbuhot mbuhot commented Oct 4, 2018

This is primarily to support EctoJob in Azure where pg_notify is known to not work.
elixir-ecto/postgrex#375

Additionally, this change ensures that even if there is no demand,
poll messages still activate scheduled / expired jobs.

@mbuhot mbuhot force-pushed the always-dispatch-on-poll branch from d209d28 to 25fdf22 Compare October 4, 2018 09:52
mbuhot added 2 commits October 4, 2018 20:01
This is primarily to support EctoJob in Azure where pg_notify is known to not work.
elixir-ecto/postgrex#375

Additionally, this change ensures that even if there is no demand,
poll messages still activate scheduled / expired jobs.
@mbuhot mbuhot force-pushed the always-dispatch-on-poll branch from 25fdf22 to 3f5dc23 Compare October 4, 2018 10:01
@mbuhot mbuhot merged commit 6776422 into master Oct 4, 2018
@mbuhot mbuhot deleted the always-dispatch-on-poll branch January 17, 2019 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant