migrate key

This commit is contained in:
ryan
2026-06-18 16:43:02 +08:00
parent 5943372ce4
commit 61cfacba55
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ POSTGRES_PASSWORD=postgres
TZ=Asia/Shanghai
# ─── 应用配置 ──────────────────────────────────────────────────────────────────
APP_NAME=wavelet
APP_NAME=openflare
APP_ENV=production
APP_ADDR=:3000
APP_NODE_ID=1
@@ -58,7 +58,7 @@ REDIS_ADDR=redis:6379
# REDIS_USERNAME=
# REDIS_PASSWORD=
# REDIS_DB=0
REDIS_KEY_PREFIX=wavelet:
REDIS_KEY_PREFIX=openflare:
# REDIS_POOL_SIZE=100
# ─── ClickHouse(可选,默认关闭)──────────────────────────────────────────
+3 -3
View File
@@ -4,7 +4,7 @@
# ─── Application ────────────────────────────────────────────────────────────────
app:
app_name: "wavelet"
app_name: "openflare"
env: "development" # development | testing | production
addr: ":3000"
node_id: 1 # Snowflake node ID (0-1023). Must be unique per instance.
@@ -34,7 +34,7 @@ database:
log_level: "info" # error | warn | info | debug | silent
ssl_mode: "disable"
time_zone: "UTC"
application_name: "wavelet-server"
application_name: "openflare-server"
prefer_simple_protocol: false
search_path: "public"
statement_cache_capacity: 256
@@ -58,7 +58,7 @@ redis:
db: 0 # Ignored in Cluster mode
cluster_mode: false # Set true to enable Cluster mode
master_name: "" # Set non-empty to enable Sentinel mode
key_prefix: "wavelet:"
key_prefix: "openflare:"
pool_size: 100
min_idle_conn: 10
dial_timeout: 5