mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 15:45:48 +00:00
Bump LRU cache max size to 100
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user