Skip to content

Commit fd5d1ae

Browse files
authored
Remove auto-cleaning (#17)
1 parent 33def5b commit fd5d1ae

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/main.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
followerKill,
3131
followerPid,
3232
} from './follower';
33-
import { resolveDapp, cleanupOldDapps, DAPPS } from './dapps';
33+
import { resolveDapp, DAPPS } from './dapps';
3434
import { SYNTHETIX_NODE_APP_CONFIG } from '../const';
3535
import * as settings from './settings';
3636
import http from 'http';
@@ -322,10 +322,6 @@ const dappsResolver = setInterval(resolveAllDapps, 600_000); // 10 minutes
322322
app.on('will-quit', () => clearInterval(dappsResolver));
323323
waitForIpfs().then(resolveAllDapps).catch(logger.error);
324324

325-
const dappsCleaner = setInterval(cleanupOldDapps, 600_000); // 10 minutes
326-
app.on('will-quit', () => clearInterval(dappsCleaner));
327-
waitForIpfs().then(cleanupOldDapps).catch(logger.error);
328-
329325
async function updateConfig() {
330326
const config = JSON.parse(
331327
await ipfs(`cat /ipns/${SYNTHETIX_NODE_APP_CONFIG}`)

0 commit comments

Comments
 (0)