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

Write a "checkpoint" file to avoid events being replayed #2

Open
dpup opened this issue Jul 22, 2019 · 0 comments
Open

Write a "checkpoint" file to avoid events being replayed #2

dpup opened this issue Jul 22, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dpup
Copy link
Member

dpup commented Jul 22, 2019

Expected Behavior:

  • Running the script as a cron-job shouldn't re-suggest activity based on events that have already been processed.

Actual Behavior:

  • Running the script may re-suggest suggestions that have already been dismissed or published in an update.

Suggested Fix:

Write a checkpoint file with the timestamp of the last event that was processed, and only process events newer than that checkpoint.

@dpup dpup added the enhancement New feature or request label Jul 22, 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