feat: add redis cache and fanout support
This commit is contained in:
@@ -96,6 +96,24 @@
|
||||
"addresses": "mongodb",
|
||||
"replica_set": "rs0"
|
||||
}
|
||||
},
|
||||
"redis": {
|
||||
"addr": "$REDIS_ADDR",
|
||||
"username": "$REDIS_USERNAME",
|
||||
"password": "$REDIS_PASSWORD",
|
||||
"db": $REDIS_DB,
|
||||
"key_prefix": "$REDIS_KEY_PREFIX",
|
||||
"dial_timeout_ms": $REDIS_DIAL_TIMEOUT_MS,
|
||||
"read_timeout_ms": $REDIS_READ_TIMEOUT_MS,
|
||||
"write_timeout_ms": $REDIS_WRITE_TIMEOUT_MS,
|
||||
"pending_ttl_seconds": $REDIS_PENDING_TTL_SECONDS,
|
||||
"done_ttl_seconds": $REDIS_DONE_TTL_SECONDS,
|
||||
"failed_ttl_seconds": $REDIS_FAILED_TTL_SECONDS,
|
||||
"hot_message_ttl_seconds": $REDIS_HOT_MESSAGE_TTL_SECONDS,
|
||||
"presence_ttl_seconds": $REDIS_PRESENCE_TTL_SECONDS,
|
||||
"cache_ttl_seconds": $REDIS_CACHE_TTL_SECONDS,
|
||||
"short_state_ttl_seconds": $REDIS_SHORT_STATE_TTL_SECONDS,
|
||||
"group_fanout_enabled": $REDIS_GROUP_FANOUT_ENABLED
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user