File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff 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' ;
3434import { SYNTHETIX_NODE_APP_CONFIG } from '../const' ;
3535import * as settings from './settings' ;
3636import http from 'http' ;
@@ -322,10 +322,6 @@ const dappsResolver = setInterval(resolveAllDapps, 600_000); // 10 minutes
322322app . on ( 'will-quit' , ( ) => clearInterval ( dappsResolver ) ) ;
323323waitForIpfs ( ) . 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-
329325async function updateConfig ( ) {
330326 const config = JSON . parse (
331327 await ipfs ( `cat /ipns/${ SYNTHETIX_NODE_APP_CONFIG } ` )
You can’t perform that action at this time.
0 commit comments