1
Edge Function runtime events
Source: supabase/supabase#29052 · opened by @gc-ft
Hi, it would be extremely useful to have a system in place that sends a signal or such to an edge function when it reaches close to its lifetime. I can handle the wall clock limit easily with a timeout trigger, but the cpu time limit is harder to do considering I can not find any reliable source for cpu time used. There is a graceful shutdown feature in the edge-runtime for local dev, but there seems to be nothing at all on the actual edge functions system? I have tried the following: 1) ALL OS signals, not a single one is received during the lifetime of the edge function. 2) Deno.serve() does not throw an error when it gets shutdown. 3) the server returned by Deno does not resolve the server.finished promise when it gets shutdown. Am I missing something here? I read a comment from @GaryAustin1 saying that one should spawn a new edge function if the current one is working on things but is at end of life... all great that idea, but if we have no clue of safely knowing…
No pledges yet. Be the first to back this.
Comments
Similar requests
Extend Model Support in Edge Runtime via Hugging Face’s Candle
2 votes · 0 comments
Enable Syncing of Vault and Edge Function Secrets
1 vote · 0 comments
More granular network permission in edge-runtime
5 votes · 0 comments
Support running remote workers in edge-runtime
1 vote · 0 comments
Feature Request: Add Descriptions for Edge Functions
2 votes · 0 comments
No comments yet.