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

New job scheduler #27

Open
Serraniel opened this issue Feb 15, 2019 · 0 comments
Open

New job scheduler #27

Serraniel opened this issue Feb 15, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Serraniel
Copy link
Owner

To optimize scanning there will be a new implemenation of the jobs and the scheduler. Instead of continously looping all jobs all the time each job will get states:

  • idle -> do nothing
  • scanning -> scan from latest known message to newest message
  • listening -> listening to new messages only

Each job will start in idle after the app has been started or if the job has been added just recently. The scheduler will set them in scanning mode. If they have finished they are set to listening mode until the app is shutting down.

@Serraniel Serraniel self-assigned this Feb 15, 2019
@Serraniel Serraniel added the enhancement New feature or request label Feb 15, 2019
@Serraniel Serraniel added this to the Major Release v2 milestone Feb 15, 2019
Serraniel added a commit that referenced this issue Feb 15, 2019
Serraniel added a commit that referenced this issue Feb 15, 2019
Serraniel added a commit that referenced this issue Feb 15, 2019
Serraniel added a commit that referenced this issue Feb 15, 2019
Serraniel added a commit that referenced this issue Feb 16, 2019
…t rescan to false (we may ask the user later).
Serraniel added a commit that referenced this issue Feb 16, 2019
Serraniel added a commit that referenced this issue Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant