瀏覽代碼

Apply suggestions from code review

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
C 3 月之前
父節點
當前提交
d673a272aa
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      crates/cdk-mintd/example.config.toml

+ 5 - 3
crates/cdk-mintd/example.config.toml

@@ -7,11 +7,13 @@ mnemonic = ""
 # enable_swagger_ui = false
 
 [info.http_cache]
-backend = "redis"
+# memory or redis
+backend = "memory"
 ttl = 60
 tti = 60
-key_prefix = "mintd"
-connection_string = "redis://localhost"
+# `key_prefix` and `connection_string` required for redis
+# key_prefix = "mintd"
+# connection_string = "redis://localhost"
 
 
 [mint_info]