Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Wait takes much longer than expected #3403

@Nostras

Description

@Nostras

Describe the bug
Wait duration is precise, but highly inaccurate. Setting a duration of 3 seconds actually results in a delay of 30 seconds. A delay of 30 seconds is actually 115 seconds. These results are consistent.

Details
Conductor version: 3.13.2
Persistence implementation: Postgres
Queue implementation: NA (stock or postgres)
Lock: NA (stock)
{ "name": "Internal wait", "taskReferenceName": "Internal_wait", "inputParameters": { "duration": "30 seconds" }, "type": "WAIT", "startDelay": 0, "optional": false, "asyncComplete": false },

To Reproduce
Just create a workflow with a WAIT type and see it take longer than expected.

Expected behavior
The behaviour matches the duration specified.

Screenshots
30 seconds:
image
Actual duration:
image

I'm also having an issue where this WAIT is ignored while in a DO_WHILE loop, but I'm not sure if this is related or an issue at all. Still trying to identify it.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions