Comparing version 0.0.57 to 0.0.58
@@ -751,12 +751,6 @@ 'use strict' | ||
} | ||
if(this.data.failed.length > 0) { | ||
this.thread -= this.data.failed.length; | ||
} | ||
// if(this.data.failed.length > 0) { | ||
// this.thread -= this.data.failed.length; | ||
// } | ||
this.GetAliveConnectionCount(true).then(count => { | ||
console.log('alive thread',count); | ||
if(count < this.threadCount) { | ||
this.InitConnection({initiator: true}, false).then(res => console.log); | ||
} | ||
}); | ||
@@ -767,3 +761,9 @@ }, 1000); | ||
this.status = ConnectorStatus.ready; | ||
if(e.code === 'ERR_SENDING') { | ||
this.GetAliveConnectionCount(true).then(count => { | ||
console.log('alive thread',count); | ||
if(count < this.threadCount) { | ||
this.InitConnection({initiator: true}, false).then(res => console.log); | ||
} | ||
}); | ||
if(e.code === 'ERR_SENDING' || this.data.failed.length > 0) { | ||
await Util.Sleep(1000); | ||
@@ -770,0 +770,0 @@ if(this.data.send.length > 0) this.SendDataSequence(); |
{ | ||
"name": "guardee", | ||
"version": "0.0.57", | ||
"version": "0.0.58", | ||
@@ -5,0 +5,0 @@ "description": "Guardee Wallet API", |
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
48492