From 0c5085726175d061c78eb54bb1c5988125a7c99a Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Wed, 15 Sep 2021 13:41:23 +1000 Subject: [PATCH] feat: change default database_connection_validation_timeout from -1 (every request) to nil (which Sequel will set to 3600 seconds) --- .../config/runtime_configuration_database_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/config/runtime_configuration_database_methods.rb b/lib/pact_broker/config/runtime_configuration_database_methods.rb index 080218db1..b73686c7f 100644 --- a/lib/pact_broker/config/runtime_configuration_database_methods.rb +++ b/lib/pact_broker/config/runtime_configuration_database_methods.rb @@ -27,7 +27,7 @@ def self.included(anyway_config) validate_database_connection_config: true, database_statement_timeout: 15, metrics_sql_statement_timeout: 30, - database_connection_validation_timeout: -1 + database_connection_validation_timeout: nil ) def database_configuration