Redis command execution options.
Definition in file command_control.hpp.
Go to the source code of this file.
#include <atomic>
#include <chrono>
#include <cstdint>
#include <optional>
#include <string>
#include <userver/storages/redis/impl/types.hpp>
◆ kDefaultMaxRetries
constexpr std::size_t redis::kDefaultMaxRetries {4} |
|
inlineconstexpr |
◆ kDefaultTimeoutAll
constexpr std::chrono::milliseconds redis::kDefaultTimeoutAll {2000} |
|
inlineconstexpr |
◆ kDefaultTimeoutSingle
constexpr std::chrono::milliseconds redis::kDefaultTimeoutSingle {500} |
|
inlineconstexpr |
◆ kRetryNilFromMaster
constexpr RetryNilFromMaster redis::kRetryNilFromMaster {} |
|
inlineconstexpr |
Can be used as an additional parameter in some commands to force retries to master if slave returned a nil reply.
Definition at line 68 of file command_control.hpp.