From b4361cb202401847bdcd17ecc7868eacaa7afc52 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 12 Nov 2021 13:56:41 +0100 Subject: [PATCH] :paperclip: Increase idle-in-transaction default timeout. --- backend/src/app/db.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/db.clj b/backend/src/app/db.clj index 8925c12d0e..369dc937fa 100644 --- a/backend/src/app/db.clj +++ b/backend/src/app/db.clj @@ -94,8 +94,8 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (def initsql - (str "SET statement_timeout = 200000;\n" - "SET idle_in_transaction_session_timeout = 200000;")) + (str "SET statement_timeout = 300000;\n" + "SET idle_in_transaction_session_timeout = 300000;")) (defn- create-datasource-config [{:keys [metrics read-only] :or {read-only false} :as cfg}]