diff options
author | antirez <antirez@gmail.com> | 2017-12-05 15:59:56 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-12-05 16:02:03 +0100 |
commit | 62a4b817c6e83eedf96a451f45dd943099258fd0 (patch) | |
tree | 2d3467ba1e00da56e4922b09fde289253470101d /src/listpack_malloc.h | |
parent | 03cfc8bf3ad3a172bd5c7f5a02ad7757c0c3f96d (diff) | |
download | redis-62a4b817c6e83eedf96a451f45dd943099258fd0.tar.gz |
add linkClient(): adds the client and caches the list node.
We have this operation in two places: when caching the master and
when linking a new client after the client creation. By having an API
for this we avoid incurring in errors when modifying one of the two
places forgetting the other. The function is also a good place where to
document why we cache the linked list node.
Related to #4497 and #4210.
Diffstat (limited to 'src/listpack_malloc.h')
0 files changed, 0 insertions, 0 deletions