Update packages/backend/check_connect.js
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
parent
d019c1c440
commit
9f8c9dd881
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue