Skip to content

Commit 3cce154

Browse files
committed
fix too large statsInterval causing errors
1 parent a59d09c commit 3cce154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { ScanError } = require(`./errors`)
1212

1313
const indexer = new odd.OpenDirectoryDownloader({
1414
maximumMemory: (!isNaN(Number(process.env.ODD_MAXIMUM_MEMORY)) && Number(process.env.ODD_MAXIMUM_MEMORY) > 0) ? Number(process.env.ODD_MAXIMUM_MEMORY) : undefined,
15-
statsInterval: Infinity,
15+
statsInterval: 60 * 60,
1616
});
1717

1818
module.exports.scanUrls = async function scanUrls(urls) {

0 commit comments

Comments
 (0)