Skip to content

Support Long Timers #325

@davidmrdavid

Description

@davidmrdavid

This PR is to support timers longer than 7 days using the [createTimer[(https://docs.microsoft.com/en-us/javascript/api/durable-functions/durableorchestrationcontext?view=azure-node-latest#durable-functions-durableorchestrationcontext-createtimer) API.

To do this, we'll need changes both at the extension-level, and at the DF SDK level.
At the extension level:

  • We include in the SDK payload a new field indicating the current maximum time for an individual timer
  • Given that we're modifying the SDK payload, we should increase the SDK protocol version number
    In the SDK:
  • We should increase the SDK protocol version number to support the new payload
  • We need to modify our TimerTask state machine to fetch the right history event, the one corresponding to the "final sub-timer"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions