cyclops icon indicating copy to clipboard operation
cyclops copied to clipboard

🔀fix: adds abort functionality to SSE in PodLogs.tsx

Open naineel1209 opened this issue 4 months ago • 0 comments

closes #596

📑 Description

This PR resolves the open SSE connection issue happening due to unutilized AbortController by using a useRef and aborting the SSE connections when the PodModal is closed or the logs tabs have changed.

✅ Checks

  • [✅] I have tested my code (provide screenshots or screen recordings of a working solution)
  • [✅] I have performed a self-review of my code

ℹ Additional context

naineel1209 avatar Oct 02 '24 16:10 naineel1209