0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 08:29:42 -05:00

📎 Increase idle-in-transaction default timeout.

This commit is contained in:
Andrey Antukh 2021-11-12 13:56:41 +01:00 committed by Andrés Moya
parent d2d4090e27
commit b4361cb202

View file

@ -94,8 +94,8 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def initsql (def initsql
(str "SET statement_timeout = 200000;\n" (str "SET statement_timeout = 300000;\n"
"SET idle_in_transaction_session_timeout = 200000;")) "SET idle_in_transaction_session_timeout = 300000;"))
(defn- create-datasource-config (defn- create-datasource-config
[{:keys [metrics read-only] :or {read-only false} :as cfg}] [{:keys [metrics read-only] :or {read-only false} :as cfg}]