Skip to content

Commit

Permalink
feat(postgres): set default app connection limit to 40
Browse files Browse the repository at this point in the history
  • Loading branch information
keskiju committed Mar 14, 2024
1 parent b2cf830 commit 78b1080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/postgres-db/resources/create-users.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
\set qpasswordbuild '\'' :passwordbuild '\''

CREATE USER :dbuserapp PASSWORD :qpasswordapp
NOSUPERUSER NOCREATEDB NOCREATEROLE CONNECTION LIMIT 20;
NOSUPERUSER NOCREATEDB NOCREATEROLE CONNECTION LIMIT 40;
ALTER USER :dbuserapp WITH PASSWORD :qpasswordapp;

CREATE USER :database PASSWORD :qpasswordbuild
Expand Down

0 comments on commit 78b1080

Please sign in to comment.