disable checkSS interval function
parent
3f7ead1db4
commit
ffa3d24f89
|
@ -1,3 +1,5 @@
|
||||||
|
/* eslint-disable consistent-return */
|
||||||
|
/* eslint-disable no-unreachable */
|
||||||
/* eslint-disable no-await-in-loop */
|
/* eslint-disable no-await-in-loop */
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { inspect } from 'util';
|
import { inspect } from 'util';
|
||||||
|
@ -5,6 +7,7 @@ import { Client } from '..';
|
||||||
|
|
||||||
let interval: NodeJS.Timeout;
|
let interval: NodeJS.Timeout;
|
||||||
export default function checkSS(client: Client) {
|
export default function checkSS(client: Client) {
|
||||||
|
return;
|
||||||
interval = setInterval(async () => {
|
interval = setInterval(async () => {
|
||||||
try {
|
try {
|
||||||
const accounts = await client.db.Account.find();
|
const accounts = await client.db.Account.find();
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export { default as checkLock, clear as clearLock } from './checkLock';
|
export { default as checkLock, clear as clearLock } from './checkLock';
|
||||||
export { default as dataConversion } from './dataConversion';
|
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';
|
export { default as parseCertificate, Certificate } from './parseCertificate';
|
||||||
|
|
Loading…
Reference in New Issue