Skip to content

Commit ee69bbd

Browse files
authored
Merge pull request #694 from ViktorTigerstrom/2023-11-restart-lndclient-on-failure
multi: restart LND Client on setup failure
2 parents c757746 + fcd22a7 commit ee69bbd

16 files changed

+319
-103
lines changed

app/src/types/generated/lit-status_pb.d.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/types/generated/lit-status_pb.js

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/util/tests/sampleData.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,7 @@ export const litSubServerStatus: STATUS.SubServerStatusResp.AsObject = {
10711071
disabled: false,
10721072
running: true,
10731073
error: '',
1074+
customStatus: '',
10741075
},
10751076
],
10761077
[
@@ -1079,6 +1080,7 @@ export const litSubServerStatus: STATUS.SubServerStatusResp.AsObject = {
10791080
disabled: false,
10801081
running: true,
10811082
error: '',
1083+
customStatus: '',
10821084
},
10831085
],
10841086
[
@@ -1087,6 +1089,7 @@ export const litSubServerStatus: STATUS.SubServerStatusResp.AsObject = {
10871089
disabled: false,
10881090
running: true,
10891091
error: '',
1092+
customStatus: '',
10901093
},
10911094
],
10921095
[
@@ -1095,6 +1098,7 @@ export const litSubServerStatus: STATUS.SubServerStatusResp.AsObject = {
10951098
disabled: false,
10961099
running: true,
10971100
error: '',
1101+
customStatus: '',
10981102
},
10991103
],
11001104
[
@@ -1103,6 +1107,7 @@ export const litSubServerStatus: STATUS.SubServerStatusResp.AsObject = {
11031107
disabled: false,
11041108
running: true,
11051109
error: '',
1110+
customStatus: '',
11061111
},
11071112
],
11081113
[
@@ -1111,6 +1116,7 @@ export const litSubServerStatus: STATUS.SubServerStatusResp.AsObject = {
11111116
disabled: false,
11121117
running: true,
11131118
error: '',
1119+
customStatus: '',
11141120
},
11151121
],
11161122
],

autopilotserverrpc/autopilotserver.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/firewall.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/lit-accounts.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/lit-autopilot.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/lit-sessions.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/lit-status.pb.go

Lines changed: 31 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/lit-status.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ message SubServerStatus {
2828
// error describes an error that might have resulted in the sub-server not
2929
// starting up properly.
3030
string error = 3;
31+
32+
// custom_status details a custom state that the sub-server has entered,
33+
// which is unique to the sub-server, and which is not the standard
34+
// disabled, running or errored state.
35+
string custom_status = 4;
3136
}

0 commit comments

Comments
 (0)