Commit 4cc8ac7
fix(recovery): No automatic reboot after rollback
- Directly invoke ConfirmRollback via QDBusInterface, bypassing
the proxy.
- Extend the timeout for the ConfirmRollback method call to 30
minutes.
- Prevent long-running rollbacks from failing due to the default
25-second DBus timeout.
fix(recovery): 回滚后没有自动重启
- 通过QDBusInterface直接调用ConfirmRollback,绕过代理
- 延长调用 ConfirmRollback 方法的超时,将超时设置为30分钟
- 避免默认25秒的DBus超时导致长时间回滚失败
Influence: 系统回滚
PMS: BUG-3871451 parent 94b77c7 commit 4cc8ac7
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
191 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
192 | 199 | | |
193 | 200 | | |
194 | 201 | | |
| |||
0 commit comments