Module fred::globals [−][src]
Expand description
Utility functions for manipulating global values that can affect performance.
Enums
Special errors that can trigger reconnection logic, which can also retry the failing command if possible.
Functions
Read the maximum allowed number of in-flight commands per connection before backpressure is put on callers.
blocking-encoding
The minimum size, in bytes, of frames that should be encoded or decoded with a blocking task.
Read the amount of time the client will wait before caching the new layout of the cluster slots when it detects a MOVED or ASK error.
custom-reconnect-errors
Read the case-sensitive list of error prefixes (without the leading -
) that will trigger the client to reconnect and retry the last command.
Read the default timeout applied to commands, in ms. A value of 0 means no timeout.
Read the max number of attempts the client will make when attempting to write a command to the socket.
Read the minimum amount of time the client will wait between writing commands when applying backpressure.
The timeout to apply to connections to sentinel servers.
See get_backpressure_count for more information.
blocking-encoding
See get_blocking_encode_threshold for more information.
See get_cluster_error_cache_delay_ms for more information.
custom-reconnect-errors
See get_custom_reconnect_errors for more information.
See get_default_command_timeout for more information.
See get_feed_count for more information.
See get_max_command_attempts for more information.
See get_min_backpressure_time_ms for more information.
See get_sentinel_connection_timeout_ms for more information.