Skip to content
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

Disallow MaxConcurrentWorkflowTaskPollers to be set to 1 #727

Merged
merged 3 commits into from
Feb 22, 2022

Conversation

cretz
Copy link
Member

@cretz cretz commented Feb 14, 2022

What was changed

Disallow MaxConcurrentWorkflowTaskPollers to be set to 1

Why?

Because worker polling is built to require at least 2 due to how stickiness preference is implemented.

Checklist

  1. Closes Worker silently doing nothing if MaxConcurrentWorkflowTaskPoller set to 1 #719

internal/worker.go Outdated Show resolved Hide resolved
@cretz cretz merged commit e96a9d9 into temporalio:master Feb 22, 2022
@cretz cretz deleted the max-conc-poller branch February 22, 2022 14:55
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.

Worker silently doing nothing if MaxConcurrentWorkflowTaskPoller set to 1
2 participants