Skip to content
This repository has been archived by the owner on May 6, 2018. It is now read-only.

FramedRead updates unusably slowly #89

Closed
alexchandel opened this issue Nov 16, 2017 · 2 comments
Closed

FramedRead updates unusably slowly #89

alexchandel opened this issue Nov 16, 2017 · 2 comments

Comments

@alexchandel
Copy link

I'm attempting to parse the output of a child process with a FramedRead and a simple line codec using tokio-process. However, my decode is only ever called every 8192 bytes, which could range from seconds to hours. FramedRead should attempt to decode every time the pipe tokio-process sets up is written to.

I notice INITIAL_CAPACITY is hard-coded to 8192. Is this the problem?

@alexcrichton
Copy link
Contributor

Do you have a reproduction of the issue? Has this since been debugged to a different cause?

@carllerche
Copy link
Member

Closing due to inactivity. This is most likely due to some external factor and not tokio-io, however without more information or steps to reproduce. If this is still a problem, please open an issue and provide steps to reproduce. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants