Fix retry, remove debug logs

This commit is contained in:
Eric Bailey
2024-05-08 15:33:00 -05:00
parent 3ee27e1f0d
commit 0474ef778c
2 changed files with 1 additions and 12 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ export class MessagesEventBus {
exception: e,
code: MessagesEventBusErrorCode.PollFailed,
retry: () => {
this.init()
this.dispatch({event: MessagesEventBusDispatchEvent.Resume})
},
},
})
-11
View File
@@ -42,17 +42,6 @@ export function Temp_MessagesEventBusProvider({
if (isWeb && IS_DEV) {
// @ts-ignore
window.bus = bus
setTimeout(() => {
bus.trail(events => {
console.log(events)
})
bus.onConnect(() => {
console.log('CONNECT')
})
bus.onError(e => {
console.log('ERROR', e)
})
}, 4000)
}
}, [bus])