Explorar el Código

redis前缀修改

zqwang hace 2 años
padre
commit
39629df4ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      config/database.php

+ 1 - 1
config/database.php

@@ -164,7 +164,7 @@ return [
 
         'options' => [
             'cluster' => env('REDIS_CLUSTER', 'redis'),
-            'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
+            'prefix' => env('REDIS_PREFIX', '_database_'),
         ],
 
         'default' => [