Skip to content

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

@dpup

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions