rump
rump copied to clipboard
fixed: error: bufio.Scanner token too long
- [ ] I have read the contributing guide.
- [ ] Issue:
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
Running into this as well. Confirmed @idweball's fix worked after fiddling with the buffer values! thanks :+1: