serum-vial
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -386,3 +386,3 @@ "use strict"; | ||
this._sendMessage(ws, { jsonrpc: '2.0', method: 'ping', params: null }); | ||
}, 5 * 1000); | ||
}, 3 * 1000); | ||
} | ||
@@ -396,3 +396,3 @@ _monitorConnectionIfStale(ws) { | ||
if (this._receivedMessagesCount === 0) { | ||
logger_1.logger.log('info', `Did not received any messages within 6s timeout, terminating connection...`, { | ||
logger_1.logger.log('info', `Did not received any messages within 10s timeout, terminating connection...`, { | ||
market: this._options.marketName | ||
@@ -403,3 +403,3 @@ }); | ||
this._receivedMessagesCount = 0; | ||
}, 6 * 1000); | ||
}, 10 * 1000); | ||
} | ||
@@ -406,0 +406,0 @@ _sendMessage(ws, message) { |
{ | ||
"name": "serum-vial", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=15" |
@@ -474,3 +474,3 @@ import { Market } from '@project-serum/serum' | ||
this._sendMessage(ws, { jsonrpc: '2.0', method: 'ping', params: null }) | ||
}, 5 * 1000) | ||
}, 3 * 1000) | ||
} | ||
@@ -485,3 +485,3 @@ | ||
if (this._receivedMessagesCount === 0) { | ||
logger.log('info', `Did not received any messages within 6s timeout, terminating connection...`, { | ||
logger.log('info', `Did not received any messages within 10s timeout, terminating connection...`, { | ||
market: this._options.marketName | ||
@@ -493,3 +493,3 @@ }) | ||
this._receivedMessagesCount = 0 | ||
}, 6 * 1000) | ||
}, 10 * 1000) | ||
} | ||
@@ -496,0 +496,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
273432