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:
parent
f162ff85db
commit
f8ffc7f0a8
@ -517,6 +517,7 @@ class RPCClient {
|
|||||||
return this.call({
|
return this.call({
|
||||||
method: 'package.uninstall',
|
method: 'package.uninstall',
|
||||||
params: { id },
|
params: { id },
|
||||||
|
timeout: 120000,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -524,6 +525,7 @@ class RPCClient {
|
|||||||
return this.call({
|
return this.call({
|
||||||
method: 'package.start',
|
method: 'package.start',
|
||||||
params: { id },
|
params: { id },
|
||||||
|
timeout: 60000,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -531,6 +533,7 @@ class RPCClient {
|
|||||||
return this.call({
|
return this.call({
|
||||||
method: 'package.stop',
|
method: 'package.stop',
|
||||||
params: { id },
|
params: { id },
|
||||||
|
timeout: 120000,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -538,6 +541,7 @@ class RPCClient {
|
|||||||
return this.call({
|
return this.call({
|
||||||
method: 'package.restart',
|
method: 'package.restart',
|
||||||
params: { id },
|
params: { id },
|
||||||
|
timeout: 120000,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user