From 2fb6eae7a421d866e82cea38de50ab18155479d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= <6986867+mullerpeter@users.noreply.github.com> Date: Sat, 23 Mar 2024 11:23:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Chore:=20disable=20renovate=20(#?= =?UTF-8?q?74)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * :wrench: Chore: disable renovate * :recycle: Refactor: add maxidle connection time on db refresh --- pkg/plugin/plugin.go | 1 + renovate.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index 8f696d4..42a5af3 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -79,6 +79,7 @@ func (d *Datasource) RefreshDBConnection() error { return err } else { d.databricksDB = db + d.databricksDB.SetConnMaxIdleTime(6 * time.Hour) log.DefaultLogger.Info("Store Databricks SQL DB Connection") return nil } diff --git a/renovate.json b/renovate.json index 7a3c4a1..ca4baac 100644 --- a/renovate.json +++ b/renovate.json @@ -7,5 +7,6 @@ "group:recommended", "replacements:all", "workarounds:all" - ] + ], + "enabled": false }