Skip to content

Cannot schedule future alarms as they are firing immediately #4360

@flashdagger

Description

@flashdagger

When sending alarms via the API I set the startAt timestamp greater than the current timestamp.
I was expecting they got fired after the set time. This way I wanted to implement a dead man's switch for my application, which would always postpone the alarm by updating the startAt timestamp. In case the application crashes, the alarm would finally fire after the last updated time.

This is apparently not the case as the alarm fires immediately (or within group_wait time).
Is this intended behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions