8000 Adds WatchOrchestrationRuntimeStatus to backend by JoshVanL · Pull Request #8 · dapr/durabletask-go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Adds WatchOrchestrationRuntimeStatus to backend #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

JoshVanL
Copy link

Adds WatchOrchestrationRuntimeStatus to backend which streams Orchestration Runtime Status changes to the durabletask engine. This func is used when waiting for state changes to a workflow. This is much better than the existing implementation which spams "GetOrchestrationRuntimeState" which needlessly spins wheels and slows the execution of workflows by locking up both the backend implementation and db.

Adds `WatchOrchestrationRuntimeStatus` to backend which streams
Orchestration Runtime Status changes to the durabletask engine. This
func is used when waiting for state changes to a workflow. This is much
better than the existing implementation which spams
"GetOrchestrationRuntimeState" which needlessly spins wheels and slows
the execution of workflows by locking up both the backend implementation
and db.

Signed-off-by: joshvanl <me@joshvanl.dev>
@yaron2 yaron2 merged commit ffe0c99 into dapr:main Jan 10, 2025
4 checks passed
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.

5 participants
0