Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Task timeouts don't work. Also, what is the expected behavior of a timed out task? #106

@mm11715

Description

@mm11715

I've tested queue timeouts and noticed the following:

  1. Queue timeouts as specified by the default spec are not respected by the firebase queue. This can be replicated by setting a timeout value in the default spec and adding a handler that uses setTimeout() with a value greater than the timeout value. The task is owned and completed by the setTimeout handler even after it should have timed out.

  2. The expected behavior of timeouts if they were working isn't documented anywhere. If the task times out, is it supposed to be put into an error state or does it return to the start_state?

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