mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 16:03:47 +00:00
fix(remote): preserve calls across control refresh
This commit is contained in:
@@ -19,6 +19,7 @@ export function closeSharedControlSocket(args: {
|
||||
readyWaiters: SharedControlReadyWaiter[]
|
||||
lastClose: { code: number; reason: string } | null
|
||||
error?: Error
|
||||
preserveReadyWaitersAndPendingRequests?: boolean
|
||||
clearReadyStableTimer: () => void
|
||||
}): void {
|
||||
if (args.ws || args.socketCleanup) {
|
||||
@@ -39,6 +40,7 @@ export function closeSharedControlSocket(args: {
|
||||
subscriptions: args.subscriptions,
|
||||
socketCleanup: args.socketCleanup,
|
||||
ws: args.ws,
|
||||
error: args.error
|
||||
error: args.error,
|
||||
preserveReadyWaitersAndPendingRequests: args.preserveReadyWaitersAndPendingRequests
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user