attestantio / vouch

Apache License 2.0
112 stars 28 forks source link

Add async channels to scheduler. #35

Closed mcdee closed 2 years ago

mcdee commented 2 years ago

The scheduler can hit a deadlock condition due to its use of synchronous channels. This changes the scheduler channels to be asynchronous with a buffer size of 1, avoiding a deadlock situation.