Diogo Ferreira
CDCloudflare Developers
•Created by Diogo Ferreira on 11/11/2024 in #workflows-beta
Latency issues
Oh, I see.
You can trigger/create multiple workflows from the same worker. This is a way to scale it.
13 replies
CDCloudflare Developers
•Created by Diogo Ferreira on 11/11/2024 in #workflows-beta
Latency issues
Sorry Sam, I do not get your question
13 replies
CDCloudflare Developers
•Created by Diogo Ferreira on 11/11/2024 in #workflows-beta
Latency issues
Thank you for reporting Sam! I are looking into it
13 replies
CDCloudflare Developers
•Created by Diogo Ferreira on 10/29/2024 in #workflows-beta
waitForEvent
The pause method is not available inside the WorkflowEntrypoint.run
6 replies
CDCloudflare Developers
•Created by Diogo Ferreira on 10/29/2024 in #workflows-beta
waitForEvent
Do don't need to put the waitCount in the sleep step name, their name does not needs to be unique
6 replies
CDCloudflare Developers
•Created by Jani on 10/29/2024 in #workflows-beta
I’ve been testing out long-running
Any time!
10 replies
CDCloudflare Developers
•Created by Jani on 10/29/2024 in #workflows-beta
I’ve been testing out long-running
For reference: https://developers.cloudflare.com/workers/observability/metrics-and-analytics/#wall-time-per-execution
10 replies
CDCloudflare Developers
•Created by Jani on 10/29/2024 in #workflows-beta
I’ve been testing out long-running
Regarding the Wall time in the dashboard, notice that it refers to the "elapsed time in milliseconds between the start of a invocation, and when the runtime determines that no more JavaScript needs to run". Actual activity/work is measured in CPU time.
10 replies
CDCloudflare Developers
•Created by Jani on 10/29/2024 in #workflows-beta
I’ve been testing out long-running
@Jani, tahnk you for the feedback!
Happy to get confirmation from you that long sleep cycles work as expected.
Regarding the version switching mid-sleep, we have identified a bug, when, at the moment of the update, the Workflow is on a sleep step (if in a do step, the original version will stick).
10 replies