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

Create a ScheduledTaskQueue to manage future scheduled tasks stored in memory #163

Closed
wants to merge 1 commit into from

Conversation

bensheldon
Copy link
Owner

@bensheldon bensheldon commented Oct 25, 2020

This is another take at #155.

The intention is to allow a Scheduler to store the times of future scheduled tasks and trigger a wake at those times.

My goal is to allow polling to be significantly dialed back (~1 minute), if not done away with entirely and allow the :async execution mode to be non-noisily set as the default in the Rails development environment. (#139 and #90)

This is given as an example, but with further research I believe that the ScheduledTaskQueue is not necessary because a ScheduledTask can be provided an explicit TimerSet that functions similarly to what I invented here.

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