From 8276c0b972babf4895d4d9e67e593b7fb9562bba Mon Sep 17 00:00:00 2001 From: charliemidtlyng Date: Mon, 24 Jun 2024 09:55:08 +0200 Subject: [PATCH] =?UTF-8?q?=C3=98ker=20max=20lifetime=20p=C3=A5=20en=20con?= =?UTF-8?q?nection=20til=2015=20minutter=20for=20=C3=A5=20unng=C3=A5=20war?= =?UTF-8?q?ning=20pga=20idletime=20og=20slippe=20=C3=A5=20kaste=20og=20opp?= =?UTF-8?q?rette=20nye=20connections=20hele=20tiden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.yml | 2 +- src/main/resources/application.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 4f026afc..0121e205 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -10,7 +10,7 @@ spring: hikari: maximum-pool-size: 5 connection-test-query: "select 1" - max-lifetime: 30000 + max-lifetime: 900000 minimum-idle: 1 familie: diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index fec8ecfa..8f271bcd 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -53,7 +53,7 @@ spring: hikari: maximum-pool-size: 10 connection-test-query: "select 1" - max-lifetime: 30000 + max-lifetime: 900000 minimum-idle: 1 logging: config: "classpath:logback-spring.xml"