Whenever a new client connection is established, the client has been excessively sending a "COMMAND" command, even when it's not necessary. I've made a modification so that the "COMMAND" command will only be executed when the ReadOnly attribute in ClusterOptions is set to True.
The ReadOnly attribute enables the execution of read-only commands on slave nodes. This change ensures that the "COMMAND" command is used more efficiently and only when required.
Whenever a new client connection is established, the client has been excessively sending a "COMMAND" command, even when it's not necessary. I've made a modification so that the "COMMAND" command will only be executed when the
ReadOnly
attribute inClusterOptions
is set toTrue
.The
ReadOnly
attribute enables the execution of read-only commands on slave nodes. This change ensures that the "COMMAND" command is used more efficiently and only when required.