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

fixed: error: bufio.Scanner token too long #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

idweball
Copy link

@idweball idweball commented Jun 5, 2020

Implementation

rump -from ./redis.dump -to redis://127.0.0.1:6379/0

When the above instruction is executed, if a key of redis is too large, it will cause a line to be too long, exceeding bufio. MaxScanTokenSize, causing bufio.Scanner token too long error

This commit is used to fix the above error

@shollingsworth
Copy link

shollingsworth commented Nov 18, 2020

Running into this as well. Confirmed @idweball's fix worked after fiddling with the buffer values! thanks 👍

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

Successfully merging this pull request may close these issues.

2 participants