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.

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.

get_custom_reconnect_errorscustom-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 number of protocol frames that can be written to a socket with feed before the socket will be flushed once by using send.

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_blocking_encode_threshold for more information.

set_custom_reconnect_errorscustom-reconnect-errors

See get_custom_reconnect_errors for more information.

See get_feed_count for more information.