mirror of
https://github.com/fluencelabs/redis
synced 2025-06-01 03:31:18 +00:00
Sentinel: releaseSentinelRedisInstance() top comment fixed.
The claim about unlinking the instance from the connected hash tables was the opposite of the reality. Also the current actual behavior is safer in most cases, so it is better to manually unlink when needed.
This commit is contained in:
parent
1f9580c125
commit
0ca750d94a
@ -942,7 +942,7 @@ sentinelRedisInstance *createSentinelRedisInstance(char *name, int flags, char *
|
||||
}
|
||||
|
||||
/* Release this instance and all its slaves, sentinels, hiredis connections.
|
||||
* This function also takes care of unlinking the instance from the main
|
||||
* This function does not take care of unlinking the instance from the main
|
||||
* masters table (if it is a master) or from its master sentinels/slaves table
|
||||
* if it is a slave or sentinel. */
|
||||
void releaseSentinelRedisInstance(sentinelRedisInstance *ri) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user