Issue with SSE Timeout on Bun Platform Using Effect Library
Currently trying to setup some SSE stuff using Bun Platform, however I get a weird timeout.
When I try to go to the url i get the first 2 :keep-alive however then i get a timeout because of bun serves
This idle timeout should only kill connections that are idle and didnt sent any data, which i should be doing.
Here is the reproduction:
https://effect.website/play#00fbd5d96dd4
Same code with node runtime / platform works just fine:
https://effect.website/play#c056b0c7b552
I have no idea what would be causing this, if its bun or effect related, I do believe its effec tho since Hono, Elysia, etc. all support sse and also use bun serve under the hood
When I try to go to the url i get the first 2 :keep-alive however then i get a timeout because of bun serves
idleTimeoutThis idle timeout should only kill connections that are idle and didnt sent any data, which i should be doing.
Here is the reproduction:
https://effect.website/play#00fbd5d96dd4
Same code with node runtime / platform works just fine:
https://effect.website/play#c056b0c7b552
I have no idea what would be causing this, if its bun or effect related, I do believe its effec tho since Hono, Elysia, etc. all support sse and also use bun serve under the hood
