diff --git a/lib/server/swarm.js b/lib/server/swarm.js index d8a26e5..738005f 100644 --- a/lib/server/swarm.js +++ b/lib/server/swarm.js @@ -9,7 +9,7 @@ var randomIterate = require('random-iterate') function Swarm (infoHash, server) { this.peers = new LRU({ max: server.peersCacheLength || 1000, - maxAge: server.peersCacheTtl || 900000 // 900 000ms = 15 minutes + maxAge: server.peersCacheTtl || 20 * 60 * 1000 // 20 minutes }) this.complete = 0 this.incomplete = 0