foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Replace util/io with tokio

Open sgkim126 opened this issue 6 years ago • 1 comments

Currently, the network uses util/io. It returns a token on an event, instead of the related stream. So the network module should manage the relationship between the token and the stream. If the network module uses tokio, this complexity can be removed.

sgkim126 avatar Feb 27 '19 11:02 sgkim126

Currently, the e2e tests are flaky. It's because there can be inconsistency in the network module when creating and closing connection repeatedly. I think replacing util/io with Tokio will fix this issue.

sgkim126 avatar Mar 25 '19 10:03 sgkim126