mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 14:15:43 +01:00
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
This commit is contained in:
commit
cf950224de
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
import {loadConfig} from './built/config.js';
|
import { loadConfig } from './built/config.js';
|
||||||
import {createRedisConnection} from "./built/redis.js";
|
import { createRedisConnection } from './built/redis.js';
|
||||||
|
|
||||||
const config = loadConfig();
|
const config = loadConfig();
|
||||||
const redis = createRedisConnection(config);
|
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