change waitForMaybeReadyWebSocket to 5 seconds (#1017)
* change waitForMaybeReadyWebSocket to 5 seconds * update package-lock.json
This commit is contained in:
parent
b189937365
commit
110caed6be
|
@ -57341,7 +57341,7 @@
|
|||
},
|
||||
"price_service/client/js": {
|
||||
"name": "@pythnetwork/price-service-client",
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.2",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@pythnetwork/price-service-sdk": "*",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@pythnetwork/price-service-client",
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.2",
|
||||
"description": "Pyth price service client",
|
||||
"author": {
|
||||
"name": "Pyth Data Association"
|
||||
|
|
|
@ -133,7 +133,7 @@ export class ResilientWebSocket {
|
|||
this.wsClient !== undefined &&
|
||||
this.wsClient.readyState !== this.wsClient.OPEN
|
||||
) {
|
||||
if (waitedTime > 1000) {
|
||||
if (waitedTime > 5000) {
|
||||
this.wsClient.close();
|
||||
return;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue