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

Feat/improve worker #1407

Merged
merged 3 commits into from
May 29, 2023
Merged

Feat/improve worker #1407

merged 3 commits into from
May 29, 2023

Conversation

loicmathieu
Copy link
Member

@tchiotludo we discuss about using a concurrent list for the workerThreadReferences but reading the code carefully as all write access are synchronized and read access are informative this should not be needed so I propose only a subset of the changes we discuss.

If this ends up not being necessary (so if we still encounter Workers that refuse to stops) we may revisit this later.

I also added in a separate commit a "fault tolerance" on worker receiving a task that is not a worker task, there is no test case for it as it's a little complex to reproduce but I tested it manually. Keep in mind this should never occur ;)

@loicmathieu loicmathieu requested a review from tchiotludo May 25, 2023 10:25
@loicmathieu loicmathieu self-assigned this May 25, 2023
@loicmathieu loicmathieu force-pushed the feat/improve-worker branch from 1b9d2ee to 0f20c68 Compare May 29, 2023 09:06
@tchiotludo tchiotludo force-pushed the feat/improve-worker branch from 0f20c68 to 3511316 Compare May 29, 2023 13:59
@tchiotludo tchiotludo merged commit 8df977b into develop May 29, 2023
@tchiotludo tchiotludo deleted the feat/improve-worker branch May 29, 2023 14:05
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