Skip to content

Commit 12ee6c9

Browse files
Increase the query timeout for IBM (#1370)
* use env var to overwrite the timeout (FOR IBM)
1 parent a2b410d commit 12ee6c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/travis/config/defaults.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def fallback_logs_api_auth_token
5555
closeio: { key: 'key' },
5656
gdpr: {},
5757
database: { adapter: 'postgresql', database: "travis_#{Travis.env}", encoding: 'unicode', min_messages: 'warning', variables: { statement_timeout: ENV['TRAVIS_DB_STATEMENT_TIMEOUT'] || 10000 } },
58-
db: { max_statement_timeout_in_seconds: 15, slow_host_max_statement_timeout_in_seconds: ENV['TRAVIS_MAX_DB_STATEMENT_TIMEOUT'] || 60},
58+
db: { max_statement_timeout_in_seconds: ENV['TRAVIS_MAX_DB_STATEMENT_TIMEOUT'] || 15, slow_host_max_statement_timeout_in_seconds: ENV['TRAVIS_MAX_DB_STATEMENT_TIMEOUT'] || 60},
5959
log_options: { s3: { access_key_id: '', secret_access_key: ''}},
6060
s3: { access_key_id: '', secret_access_key: ''},
6161
pusher: { app_id: 'app-id', key: 'key', secret: 'secret' },

0 commit comments

Comments
 (0)