Skip to content

How Do I Increase Supabase-JS API Statement Timeout From 3s? #27421

Discussion options

You must be logged in to vote

Seems a step is missing...

alter role anon set statement_timeout = '5s';
NOTIFY pgrst, 'reload config';

Checked with this postgres function from the API:

declare result int;
begin
select setting into result
from pg_settings
where name = 'statement_timeout';
return result;
end;

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@devwilliamy
Comment options

@GaryAustin1
Comment options

Answer selected by GaryAustin1
@scott-wojan
Comment options

@GaryAustin1
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants