From 5c494896c62e86f7c4156aa05c8fce810e54b13c Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Wed, 11 Oct 2023 17:18:41 +0200 Subject: [PATCH] Increase default number of connection ofr grafana_auth --- initdb/02_6_signalk_roles.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initdb/02_6_signalk_roles.sql b/initdb/02_6_signalk_roles.sql index 7090d33..bc24555 100644 --- a/initdb/02_6_signalk_roles.sql +++ b/initdb/02_6_signalk_roles.sql @@ -66,7 +66,7 @@ GRANT SELECT ON TABLE auth.vessels TO grafana; GRANT EXECUTE ON FUNCTION public.citext_eq(citext, citext) TO grafana; -- Grafana_auth authenticator user and role with login, read-only on auth.accounts, limit 15 connections -CREATE ROLE grafana_auth WITH NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT NOBYPASSRLS NOREPLICATION CONNECTION LIMIT 15 LOGIN PASSWORD 'mysecretpassword'; +CREATE ROLE grafana_auth WITH NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT NOBYPASSRLS NOREPLICATION CONNECTION LIMIT 20 LOGIN PASSWORD 'mysecretpassword'; comment on role grafana_auth is 'Role that grafana auth proxy authenticator via apache.'; -- Allow read on VIEWS on API schema