fix: increase package start/stop/uninstall RPC timeouts

Uninstall was timing out at 15s default while podman stop takes 30-600s.
Now: uninstall 120s, stop 120s, restart 120s, start 60s.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian 2026-03-31 03:21:16 +01:00
parent 9c9fd1ca1e
commit ba62e3f4f4

View File

@ -517,6 +517,7 @@ class RPCClient {
return this.call({
method: 'package.uninstall',
params: { id },
timeout: 120000,
})
}
@ -524,6 +525,7 @@ class RPCClient {
return this.call({
method: 'package.start',
params: { id },
timeout: 60000,
})
}
@ -531,6 +533,7 @@ class RPCClient {
return this.call({
method: 'package.stop',
params: { id },
timeout: 120000,
})
}
@ -538,6 +541,7 @@ class RPCClient {
return this.call({
method: 'package.restart',
params: { id },
timeout: 120000,
})
}