mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
Fix a sporadic warning in cluster-geo, and fix test to not overload the test-watcher.
This commit is contained in:
parent
2854f14966
commit
0e4a2c378f
3 changed files with 25 additions and 16 deletions
|
@ -5,8 +5,14 @@
|
|||
//
|
||||
|
||||
// GeoIP cache TTL in ms
|
||||
var CACHE_TTL = (60 * 60 * 24 * 60 * 1000); // 60 days
|
||||
var CACHE_TTL = (60 * 60 * 24 * 120 * 1000); // 120 days
|
||||
|
||||
// Globally increase event emitter maximum listeners
|
||||
var EventEmitter = require('events');
|
||||
EventEmitter.prototype._maxListeners = 1000;
|
||||
process.setMaxListeners(1000);
|
||||
|
||||
// Load config
|
||||
var config = require(__dirname + '/config.js');
|
||||
|
||||
if (!config.maxmind) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue