Skip to content

Fix possible race condition when chaining item conversions - #13

Open
envygeeks wants to merge 1 commit into
clockworklabs:masterfrom
envygeeks:bug/fix-food-waste
Open

Fix possible race condition when chaining item conversions#13
envygeeks wants to merge 1 commit into
clockworklabs:masterfrom
envygeeks:bug/fix-food-waste

Conversation

@envygeeks

Copy link
Copy Markdown

Attempts to fix a race when chaining item conversions quickly. Successful conversions were clearing the action asynchronously, so the clear from the previous conversion could sometimes run after the next one started and reset it to None. Successful conversions now clear the action immediately. Failed conversions keep the existing scheduled clear since their transaction gets rolled back.

Attempts to fix a race when chaining item conversions quickly. Successful conversions were clearing the action asynchronously, so the clear from the previous conversion could sometimes run after the next one started and reset it to None. Successful conversions now clear the action immediately. Failed conversions keep the existing scheduled clear since their transaction gets rolled back.
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.

1 participant