Closed Gilthoniel closed 4 years ago
@cba33 has issues during simulation as her init phase requires interaction with the nodes and thus the root was stuck waiting for replies to be processed.
IIRC, this was half on purpose, to avoid some race-conditions when the dispatcher is called twice for the same message. But probably it never really prevented races... If there are more flaky tests in cothority, this might be it...
How does this change perform when integrated into Cothority?
Running the tests locally was alright.
In situation where a node is processing a request that needs interactions with other nodes, it can be stuck as the blocking dispatcher only allows one at a time. This switches to the routine dispatcher that allows multiple requests to be processed.