Set lower Maximum Duration (Wall clock limit) for edge functions

Does anyone know if this is possible? There is no docs about this.
3 Replies
Idris
IdrisOP5d ago
Also is it possible for the service role to bypass the rows maximum set in settings?
garyaustin
garyaustin5d ago
I know you can't set the timeouts longer. I've never seen anything to set them lower, but have not really looked. Not sure what you second question has to do with edge functions, but I'll guess you mean the REST API max row setting which defaults to 1000. Service role can't bypass that. You would have to form your own JSON in an rpc/postgres function.
Idris
IdrisOP5d ago
Ah pretty smart workaround. Thanks! Since timeouts are non blocking i will just have that shutdown the function then, thanks!

Did you find this page helpful?