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

executor: avoid locking during setupTask #344

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

alessandro-sorint
Copy link
Contributor

@alessandro-sorint alessandro-sorint commented Jun 8, 2022

Unlock runningTask before calling setupTask
This is needed because setupTask can take much time and lock other routines

@alessandro-sorint alessandro-sorint force-pushed the excecutor_refactoring branch 2 times, most recently from 521ebd2 to 06497fc Compare June 8, 2022 11:59
@alessandro-sorint alessandro-sorint changed the title executor: added field isStarting in runningTask to avoid routines locking during setupTask executor: refactoring to avoid locking during setupTask Jun 8, 2022
@sgotti sgotti changed the title executor: refactoring to avoid locking during setupTask executor: avoid locking during setupTask Jun 9, 2022
@sgotti sgotti merged commit a80d88f into agola-io:master Jun 9, 2022
@alessandro-sorint alessandro-sorint deleted the excecutor_refactoring branch June 13, 2022 07:15
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