Skip to content

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

Open

Description

@dpup

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.

Activity

  1. added
    enhancement
    on Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions