diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-07-11 14:32:35 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-07-15 08:01:39 +0000 |
| commit | f3af87f58e552092404c65e428d82a1a8146c622 (patch) | |
| tree | 8bcd9c120b5d514fb32dac1f9b7e3b43dce52435 /executor/_include | |
| parent | c605e6a2949eb42a4ea12594e3e887837f27d2d2 (diff) | |
pkg/rpcserver: exit on connection loop abortion
For local rpcserver runs, we do not reboot the executor in case of
errors. Moreover, if the error did not lead to the executor process
exit, we may never detect that something went wrong.
Return an error channel from CreateInstance() to be able to act on
connection loop errors.
Explicitly register the instance during local executions and exit from
RunLocal() in case of connection problems.
Diffstat (limited to 'executor/_include')
0 files changed, 0 insertions, 0 deletions
