We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d7879 commit 9c2e84fCopy full SHA for 9c2e84f
src/hooks/useSSE.ts
@@ -77,10 +77,10 @@ export const useSSE = () => {
77
78
eventSource.close();
79
80
- if (reconnectAttemptsRef.current < 3) {
+ if (reconnectAttemptsRef.current < 20) {
81
reconnectAttemptsRef.current += 1;
82
console.warn(
83
- `⚠️ SSE: 재연결 시도 중... (남은 재연결 횟수: ${3 - reconnectAttemptsRef.current})`,
+ `⚠️ SSE: 재연결 시도 중... (남은 재연결 횟수: ${20 - reconnectAttemptsRef.current})`,
84
);
85
setTimeout(connectSSE, 1000);
86
} else {
0 commit comments