Skip to content

Commit

Permalink
fix: cast PACT_BROKER_DATABASE_CONNECTION_VALIDATION_TIMEOUT to an in…
Browse files Browse the repository at this point in the history
…teger

Fixes: #526
  • Loading branch information
bethesque committed Nov 22, 2021
1 parent 9e655b1 commit 8816c61
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -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
Expand Down

0 comments on commit 8816c61

Please sign in to comment.