C client library for Valkey/Redis Cluster. This project is used and sponsored by Ericsson. It is a fork of the now unmaintained hiredis-vip.
BSD 3-Clause "New" or "Revised" License
86
stars
42
forks
source link
Add events "ready" and "free context" and add event privdata. #179
Closed
zuiderkwast closed 1 year ago
The event callback is changed to take an extra argument, which is a change to the unreleased event callback feature.
The two new events are
HIRCLUSTER_EVENT_READY
when the slot mapping has been fetched for the first time and the client is ready to accept commands;HIRCLUSTER_EVENT_FREE_CONTEXT
when the cluster context is being freed, so that the user can free the event privdata.