yannh / redis-dump-go

Backup & Restore your Redis server - FAST
MIT License
280 stars 58 forks source link

fix batchSize args #22

Closed zwq000 closed 3 years ago

zwq000 commented 3 years ago

Batchsize does not work, causing an error when importing hset data The batchsize parameter given when the program starts does not work

yannh commented 3 years ago

Thanks for the notice! Indeed :facepalm: I d rather not rely on a global variable, but I ll get back to this soon, thanks for the report :+1:

yannh commented 3 years ago

Fixed in https://github.com/yannh/redis-dump-go/pull/23

yannh commented 3 years ago

Released v0.5.1 :+1:

zwq000 commented 3 years ago

It looks like there are too many arguments of a function, but okay