Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
Browse files Browse the repository at this point in the history
… develop
  • Loading branch information
tamaina committed Feb 26, 2023
2 parents 02d7ffd + 9f8c9dd commit cf95022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/backend/check_connect.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {loadConfig} from './built/config.js';
import {createRedisConnection} from "./built/redis.js";
import { loadConfig } from './built/config.js';
import { createRedisConnection } from './built/redis.js';

const config = loadConfig();
const redis = createRedisConnection(config);

redis.on('connect', () => redis.disconnect());
redis.on('error', (e) => {
throw e;
throw e;
});

0 comments on commit cf95022

Please sign in to comment.