From 8e30b02efc83058bda387796244cadc9b061f011 Mon Sep 17 00:00:00 2001 From: Xhofe Date: Sun, 13 Mar 2022 16:38:12 +0800 Subject: [PATCH] fix: cache config env typo --- conf/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/config.go b/conf/config.go index 991d1f40..aeebe56c 100644 --- a/conf/config.go +++ b/conf/config.go @@ -19,7 +19,7 @@ type Scheme struct { } type CacheConfig struct { - Expiration int64 `json:"expiration" env:"A_LIST_DB_EXPIRATION"` + Expiration int64 `json:"expiration" env:"A_LIST_EXPIRATION"` CleanupInterval int64 `json:"cleanup_interval" env:"A_LIST_CLEANUP_INTERVAL"` }