dendrite: Use alternate syntax for connection string

This commit is contained in:
Erwin Boskma 2024-04-24 15:07:40 +02:00
parent 065838d865
commit a33318c725
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -21,7 +21,7 @@ let
private_key = "$$CREDENTIALS_DIRECTORY/private_key"; private_key = "$$CREDENTIALS_DIRECTORY/private_key";
database = { database = {
connection_string = "postgresql://%2Frun%2Fpostgresql/dendrite"; connection_string = "postgresql:///dendrite?host=/run/postgresql";
max_open_conns = 100; max_open_conns = 100;
max_idle_conns = 5; max_idle_conns = 5;
conn_max_lifetime = -1; conn_max_lifetime = -1;