Update packages/backend/check_connect.js
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
@@ -6,5 +6,5 @@ const redis = createRedisConnection(config);
|
|||||||
|
|
||||||
redis.on('connect', () => redis.disconnect());
|
redis.on('connect', () => redis.disconnect());
|
||||||
redis.on('error', (e) => {
|
redis.on('error', (e) => {
|
||||||
throw e;
|
throw e;
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user