Explorar o código

:wrench: redis namespace

visuddhinanda@gmail.com %!s(int64=4) %!d(string=hai) anos
pai
achega
57c1f90eb6
Modificáronse 3 ficheiros con 10 adicións e 3 borrados
  1. 4 2
      .env.example
  2. 5 0
      change-logs.md
  3. 1 1
      public/app/config.sample.php

+ 4 - 2
.env.example

@@ -59,5 +59,7 @@ RPC_SERVER="https://rpc.wikipali.org"
 ASSETS_SERVER="https://assets-hk.wikipali.org"
 
 
-SNOWFLAKE_DATA_CENTER_ID = 1
-SNOWFLAKE_WORKER_ID = 1
+SNOWFLAKE_DATA_CENTER_ID=1
+SNOWFLAKE_WORKER_ID=1
+
+REDIS_NAMESPACE=

+ 5 - 0
change-logs.md

@@ -52,3 +52,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - remove HELP_SERVER GRAMMAR_SERVER from .env.example
 - remove HELP_SERVER GRAMMAR_SERVER from config.sample.php
 - remove HELP_SERVER GRAMMAR_SERVER from config.sample.php
+
+## [1.0.7] - 2022-02-01
+
+- add REDIS_NAMESPACE to .env.example
+- add redis namespace to config.sample.php

+ 1 - 1
public/app/config.sample.php

@@ -46,7 +46,7 @@ define("Redis",[
 	"host" => "127.0.0.1",
 	"port" => 6379,
 	"password" => "",
-	"prefix"=>"aaa://"
+	"namespace"=>"aaa://"
 ]);
 
 #目录设置,不能更改