mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-06 14:16:41 +00:00
chore: cancel all pending RPCs at bootup
This commit is contained in:
parent
b1089f1875
commit
34b44fa27f
@ -38,8 +38,9 @@ export const createRpcHelper = (config: RpcHelperConfig) => {
|
||||
RpcStatus.FinishedError,
|
||||
RpcStatus.FinishedSuccess,
|
||||
])
|
||||
.update({
|
||||
status: RpcStatus.New,
|
||||
.update<RpcFields<any, any>>({
|
||||
status: RpcStatus.FinishedError,
|
||||
result: `Canceled by reset`,
|
||||
})
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user