From ffa3d24f8992c2f85dc9bf9d992ab82cb8bd5294 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 28 Mar 2020 04:59:23 -0400 Subject: [PATCH] disable checkSS interval function --- src/functions/checkSS.ts | 3 +++ src/functions/index.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/functions/checkSS.ts b/src/functions/checkSS.ts index e6ed824..39cee9d 100644 --- a/src/functions/checkSS.ts +++ b/src/functions/checkSS.ts @@ -1,3 +1,5 @@ +/* eslint-disable consistent-return */ +/* eslint-disable no-unreachable */ /* eslint-disable no-await-in-loop */ import axios from 'axios'; import { inspect } from 'util'; @@ -5,6 +7,7 @@ import { Client } from '..'; let interval: NodeJS.Timeout; export default function checkSS(client: Client) { + return; interval = setInterval(async () => { try { const accounts = await client.db.Account.find(); diff --git a/src/functions/index.ts b/src/functions/index.ts index a349b65..6afeb0e 100644 --- a/src/functions/index.ts +++ b/src/functions/index.ts @@ -1,4 +1,4 @@ export { default as checkLock, clear as clearLock } from './checkLock'; export { default as dataConversion } from './dataConversion'; -export { default as checkSS, clear as clearSS } from './checkSS'; +// export { default as checkSS, clear as clearSS } from './checkSS'; export { default as parseCertificate, Certificate } from './parseCertificate';