mirror of
https://github.com/katanemo/plano.git
synced 2026-04-29 19:06:34 +02:00
add pluggable session cache with Redis backend
This commit is contained in:
parent
8dedf0bec1
commit
50670f843d
10 changed files with 353 additions and 75 deletions
|
|
@ -441,6 +441,20 @@ properties:
|
|||
minimum: 1
|
||||
maximum: 10000
|
||||
description: Maximum number of session-pinned routing cache entries. Default 10000.
|
||||
session_cache:
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
- memory
|
||||
- redis
|
||||
default: memory
|
||||
description: Session cache backend. "memory" (default) is in-process; "redis" is shared across replicas.
|
||||
url:
|
||||
type: string
|
||||
description: Redis URL, e.g. redis://localhost:6379. Required when type is redis.
|
||||
additionalProperties: false
|
||||
additionalProperties: false
|
||||
state_storage:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue