Edge Function runtime events #29052
Unanswered
gc-ft
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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:
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 when that end of life is, then how are we supposed to do this?
Fabian
All reactions