userver: REDIS_WAIT_CONNECTED
Loading...
Searching...
No Matches
REDIS_WAIT_CONNECTED

REDIS_WAIT_CONNECTED Dynamic Config

Dynamic config that controls if services will wait for connections with redis instances.

Schema:

# yaml
default:
mode: master_or_slave
throw_on_fail: false
timeout-ms: 11000
description: |
Dynamic config that controls if services will wait for connections with redis
instances.
schema:
type: object
additionalProperties: false
properties:
mode:
type: string
enum:
- no_wait
- master
- slave
- master_or_slave
- master_and_slave
throw_on_fail:
type: boolean
timeout-ms:
type: integer
minimum: 1
x-taxi-cpp-type: std::chrono::milliseconds
required:
- mode
- throw_on_fail
- timeout-ms

For a full list of dynamic configs see Dynamic config schemas list