manually check daemon connections

This commit is contained in:
woodser 2024-04-23 10:44:13 -04:00
parent 4ae2155f41
commit ca8cea8e82
10 changed files with 135 additions and 133 deletions

View file

@ -518,7 +518,7 @@ class HavenoClient {
*/
async startCheckingConnection(refreshPeriod) {
try {
await this._xmrConnectionsClient.startCheckingConnections(new grpc_pb_1.StartCheckingConnectionsRequest().setRefreshPeriod(refreshPeriod), { password: this._password });
await this._xmrConnectionsClient.startCheckingConnection(new grpc_pb_1.StartCheckingConnectionRequest().setRefreshPeriod(refreshPeriod), { password: this._password });
}
catch (e) {
throw new HavenoError_1.default(e.message, e.code);
@ -529,7 +529,7 @@ class HavenoClient {
*/
async stopCheckingConnection() {
try {
await this._xmrConnectionsClient.stopCheckingConnections(new grpc_pb_1.StopCheckingConnectionsRequest(), { password: this._password });
await this._xmrConnectionsClient.stopCheckingConnection(new grpc_pb_1.StopCheckingConnectionRequest(), { password: this._password });
}
catch (e) {
throw new HavenoError_1.default(e.message, e.code);