Skip to content

Conversation

Shaddoll
Copy link
Member

What changed?
This PR picks a commit from temporal temporalio/temporal#4367

Why?
To improve the task queue latency metric for timer tasks. Currently, we guarantee that the timestamp of timers are greater than scheduledTaskMaxReadLevel to make sure that timers will be read from the database. But if a timer is assigned with a timestamp that's before now, the task queue latency can be abnormally high.

How did you test it?
unit tests

Potential risks
task queue latency metric could be wrong

Release notes

Documentation Changes

@Shaddoll Shaddoll merged commit 46dd3f5 into cadence-workflow:master Aug 28, 2025
30 of 31 checks passed
@Shaddoll Shaddoll deleted the timer branch August 28, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants