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

MaxActiveOrchestrations set to 1 does not work, mutliple Orchestrations are running #199

Open
goneneren opened this issue Dec 7, 2023 · 1 comment
Labels
P2 Priority 2

Comments

@goneneren
Copy link

MaxActiveOrchestrations is set to 1, but multiple Orchestration are run at the same time.

SqlOrchestrationServiceSettings sqlOrchestrationServiceSettings = new(databaseConnectionString)
{
            CreateDatabaseIfNotExists = true,
            AppName = "appName",
            DatabaseName = "databaseName",
            MaxActiveOrchestrations = 1
 };
@cgillum
Copy link
Member

cgillum commented Dec 19, 2023

@goneneren do you mean that multiple orchestrations are executing code at the same time or that they're in the "Running" state at the same time? This setting as only for the former and not the latter. It also only applies to a single instance of SqlOrchestrationService.

@cgillum cgillum added P2 Priority 2 and removed P1 Priority 1 labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Priority 2
Projects
None yet
Development

No branches or pull requests

3 participants