优化 Redis连接未启用时日志修改为警告
This commit is contained in:
@@ -8,7 +8,7 @@ class _RedisConnection {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
if (!config.redis.enable) {
|
if (!config.redis.enable) {
|
||||||
this.logger.info('Database is disabled, initialization terminated');
|
this.logger.warn('Database is disabled, initialization terminated');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user