mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-07 22:56:39 +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.FinishedError,
|
||||||
RpcStatus.FinishedSuccess,
|
RpcStatus.FinishedSuccess,
|
||||||
])
|
])
|
||||||
.update({
|
.update<RpcFields<any, any>>({
|
||||||
status: RpcStatus.New,
|
status: RpcStatus.FinishedError,
|
||||||
|
result: `Canceled by reset`,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user