fix(gateway): explain ignored restart signal · openclaw/openclaw@bc77f7a
wAngByg
·
2026-05-31
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1205,6 +1205,13 @@ describe("runGatewayLoop", () => {
|
1205 | 1205 | expect(gatewayLog.warn).toHaveBeenCalledWith( |
1206 | 1206 | "SIGUSR1 restart ignored (not authorized; commands.restart=false or use gateway tool).", |
1207 | 1207 | ); |
| 1208 | +expect(gatewayLog.warn).toHaveBeenCalledTimes(2); |
| 1209 | +expect(gatewayLog.warn).toHaveBeenNthCalledWith( |
| 1210 | +2, |
| 1211 | +"An unauthorized SIGUSR1 restart signal was received and ignored. " + |
| 1212 | +"If a pending gateway restart needs to be applied, run `openclaw gateway restart` " + |
| 1213 | +"or restart the gateway through your service manager.", |
| 1214 | +); |
1208 | 1215 | }); |
1209 | 1216 | }); |
1210 | 1217 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。