diff --git a/lib/pact_broker/config/runtime_configuration_database_methods.rb b/lib/pact_broker/config/runtime_configuration_database_methods.rb index cb561c86e..4e8567de1 100644 --- a/lib/pact_broker/config/runtime_configuration_database_methods.rb +++ b/lib/pact_broker/config/runtime_configuration_database_methods.rb @@ -65,6 +65,10 @@ def metrics_sql_statement_timeout= metrics_sql_statement_timeout super(metrics_sql_statement_timeout&.to_i) end + def database_connection_validation_timeout= database_connection_validation_timeout + super(database_connection_validation_timeout&.to_i) + end + def postgres? database_credentials[:adapter] == "postgres" end