Browse Source

Revert "fix: increase pinner stats polling interval"

This reverts commit a5f33c2659.
develop
Apostolos Fanakis 3 years ago
parent
commit
2a08dee9ea
Signed by: Apostolof GPG Key ID: 8600B4C4163B3269
  1. 2
      packages/concordia-pinner/src/app.js

2
packages/concordia-pinner/src/app.js

@ -9,7 +9,7 @@ import getWeb3ProviderUrl from 'concordia-shared/src/utils/web3';
import { getResolvedRendezvousUrl } from './utils/ipfsUtils'; import { getResolvedRendezvousUrl } from './utils/ipfsUtils';
import { logger, logsDirectoryPath } from './utils/logger'; import { logger, logsDirectoryPath } from './utils/logger';
const POLLING_INTERVAL = 10000; const POLLING_INTERVAL = 1000;
const accessLogStream = fs.createWriteStream(path.join(logsDirectoryPath, 'access.log'), { flags: 'a' }); const accessLogStream = fs.createWriteStream(path.join(logsDirectoryPath, 'access.log'), { flags: 'a' });
logger.info('Service setting up.'); logger.info('Service setting up.');

Loading…
Cancel
Save