Add debug logs around exiting goroutines
I'm debugging our clean shutdown
This commit is contained in:
parent
4a214b099e
commit
0b005c3e76
3 changed files with 7 additions and 1 deletions
|
|
@ -61,6 +61,7 @@ export const SSEManager: SSEManagerType = (function (): SSEManagerType {
|
|||
|
||||
// Reconnect after delay
|
||||
setTimeout(() => {
|
||||
console.log("SSE reconnecting");
|
||||
connectionPromise = null;
|
||||
connect(url);
|
||||
}, 5000);
|
||||
|
|
@ -80,6 +81,7 @@ export const SSEManager: SSEManagerType = (function (): SSEManagerType {
|
|||
eventSource = null;
|
||||
isConnected = false;
|
||||
connectionPromise = null;
|
||||
console.log("SSE disconnected");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue