Bump LRU cache max size to 100

This commit is contained in:
wltsmrz
2014-02-20 14:23:17 -08:00
parent b9646c51b8
commit ef758b17b1

View File

@@ -102,7 +102,7 @@ function Remote(opts, trace) {
this._connection_offset = 1000 * (typeof opts.connection_offset === 'number' ? opts.connection_offset : 5) this._connection_offset = 1000 * (typeof opts.connection_offset === 'number' ? opts.connection_offset : 5)
this._submission_timeout = 1000 * (typeof opts.submission_timeout === 'number' ? opts.submission_timeout : 10) this._submission_timeout = 1000 * (typeof opts.submission_timeout === 'number' ? opts.submission_timeout : 10)
this._received_tx = LRU({ max: 10 }); this._received_tx = LRU({ max: 100 });
this._cur_path_find = null; this._cur_path_find = null;
// Local signing implies local fees and sequences // Local signing implies local fees and sequences