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

Concurrent PurgeOrchestrationInstanceHistoryAsync calls #418

Open
FarhadJabiyev opened this issue Sep 18, 2024 · 1 comment
Open

Concurrent PurgeOrchestrationInstanceHistoryAsync calls #418

FarhadJabiyev opened this issue Sep 18, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation P2 Priority 2

Comments

@FarhadJabiyev
Copy link
Member

We should call PurgeOrchestrationInstanceHistoryAsync method to delete orchestrations started more than 24 hours ago. We want to make that call from BackgroundService in .NET core. In documentation nothing mentioned if we can do that call from multiple services containing that BackgroundService or not. Could you please let me know if it safe to make that call concurrently with same arguments or not?

@nytian nytian added documentation Improvements or additions to documentation P2 Priority 2 and removed Needs: Triage 🔍 labels Sep 25, 2024
@sebastianburckhardt
Copy link
Member

Yes, the call is safe to make concurrently and/or repeatedly with the same arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation P2 Priority 2
Projects
None yet
Development

No branches or pull requests

3 participants