attached is patch that adds dbindex to constructor so that the (re)connect method switches to that database index using Redis select command. Without it anyone using other database indexes other then zero may start to write to index 0 after unexpected reconnect.
In addition select command is extended to update dbindex value after successful select index command execution - run-time database index switching.
Hello,
attached is patch that adds dbindex to constructor so that the (re)connect method switches to that database index using Redis select command. Without it anyone using other database indexes other then zero may start to write to index 0 after unexpected reconnect.
In addition select command is extended to update dbindex value after successful select index command execution - run-time database index switching.
Best regards Jozef