File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import {
30
30
followerKill ,
31
31
followerPid ,
32
32
} from './follower' ;
33
- import { resolveDapp , cleanupOldDapps , DAPPS } from './dapps' ;
33
+ import { resolveDapp , DAPPS } from './dapps' ;
34
34
import { SYNTHETIX_NODE_APP_CONFIG } from '../const' ;
35
35
import * as settings from './settings' ;
36
36
import http from 'http' ;
@@ -322,10 +322,6 @@ const dappsResolver = setInterval(resolveAllDapps, 600_000); // 10 minutes
322
322
app . on ( 'will-quit' , ( ) => clearInterval ( dappsResolver ) ) ;
323
323
waitForIpfs ( ) . then ( resolveAllDapps ) . catch ( logger . error ) ;
324
324
325
- const dappsCleaner = setInterval ( cleanupOldDapps , 600_000 ) ; // 10 minutes
326
- app . on ( 'will-quit' , ( ) => clearInterval ( dappsCleaner ) ) ;
327
- waitForIpfs ( ) . then ( cleanupOldDapps ) . catch ( logger . error ) ;
328
-
329
325
async function updateConfig ( ) {
330
326
const config = JSON . parse (
331
327
await ipfs ( `cat /ipns/${ SYNTHETIX_NODE_APP_CONFIG } ` )
You can’t perform that action at this time.
0 commit comments