Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mindreader should log less when overrunning the buffer #156

Open
matthewdarwin opened this issue Sep 22, 2020 · 0 comments
Open

mindreader should log less when overrunning the buffer #156

matthewdarwin opened this issue Sep 22, 2020 · 0 comments

Comments

@matthewdarwin
Copy link

When the buffer is too small, mindreader logs a lot like this:

(mindreader-stdin) reading from console logs (mindreader/mindreader.go:245){"error": "bufio.Scanner: token too long"}

This happens 100s of times per second. Totally waste of space and CPU.

Not sure if anything actually gets processed when this happens, or it is just in an infinite loop.

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

No branches or pull requests

1 participant