Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Always respond to negotiations #138

Merged
merged 5 commits into from
Jul 27, 2020
Merged

Conversation

mxgrey
Copy link
Member

@mxgrey mxgrey commented Jul 24, 2020

In some cases race conditions can cause a negotiation to get "lost" for a participant, in particular if a negotiation is still ongoing while a participant finishes its current task.

This PR fixes that problem so that if a negotiation Responder dies or a certain amount of time passes, then the negotiation is automatically forfeited. This guarantees that the negotiation never gets stuck and that the schedule never gets locked up trying to wait for a negotiation to finish.

@ddengster
Copy link
Contributor

LGTM

@mxgrey mxgrey merged commit 4d0dfca into master Jul 27, 2020
@mxgrey mxgrey deleted the bug/always_respond_to_negotiations branch July 27, 2020 04:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants