[Edge Functions] Are Websocket connections terminated after the maximum duration, wall clock limit? (150/400secs) #32791
-
I was reading the docs here and was wondering how to interpret the limits in the context of Websockets with Edge Functions. Specifically the docs state:
Does this limit refer to the duration of the initial HTTP upgrade request (before the socket is opened)? Or is this limit imposed on the entire Websocket connection? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I believe they would have to be as the entire edge function gets shut down. |
Beta Was this translation helpful? Give feedback.
-
Yes, the duration would start from the time the Edge Function processes the initial HTTP upgrade request (ie. when the function booted) |
Beta Was this translation helpful? Give feedback.
-
Thanks! @laktek @GaryAustin1 |
Beta Was this translation helpful? Give feedback.
Yes, the duration would start from the time the Edge Function processes the initial HTTP upgrade request (ie. when the function booted)