rump icon indicating copy to clipboard operation
rump copied to clipboard

fixed: error: bufio.Scanner token too long

Open idweball opened this issue 4 years ago • 1 comments

  • [ ] 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

idweball avatar Jun 05 '20 02:06 idweball

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

shollingsworth avatar Nov 18 '20 19:11 shollingsworth