ReloadState reloads cluster state. If available it calls ClusterSlots func to get cluster slots information.
(ctx context.Context)
| 1215 | // ReloadState reloads cluster state. If available it calls ClusterSlots func |
| 1216 | // to get cluster slots information. |
| 1217 | func (c *ClusterClient) ReloadState(ctx context.Context) { |
| 1218 | c.state.LazyReload() |
| 1219 | } |
| 1220 | |
| 1221 | // Close closes the cluster client, releasing any open resources. |
| 1222 | // |