I\'m trying to import one million lines of redis commands, using the --pipe
feature.
redis_version:2.8.1
cat file.txt | r
This error happens because the timeout set in Redis is Default, 0. You need to configure this timeout value by redis-cli using the command below:
To connect in redis server: redis-cli -h -p -a
To view timeout value configured: this command-line: config get timemout, Works to see what is the timeout value was configured in Redis server.
To Set new value for redis timeout: this command-line: config set timeout 120, Set the timeout to 2 minutes. So, you need to set the redis timeout so long your execution need.
I hope this answers help you. Cyu!!!