Open idweball opened 4 years ago
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:
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