fix(desktop): event reconnect gaps
This commit is contained in:
parent
b279b5022c
commit
8ec421a3be
2 changed files with 9 additions and 3 deletions
|
|
@ -8,8 +8,7 @@ export const { use: useGlobalSDK, provider: GlobalSDKProvider } = createSimpleCo
|
|||
init: (props: { url: string }) => {
|
||||
const eventSdk = createOpencodeClient({
|
||||
baseUrl: props.url,
|
||||
signal: AbortSignal.timeout(1000 * 60 * 10),
|
||||
throwOnError: true,
|
||||
// signal: AbortSignal.timeout(1000 * 60 * 10),
|
||||
})
|
||||
const emitter = createGlobalEmitter<{
|
||||
[key: string]: Event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue