Skip to content

Increase db migration timeout from 1 minute to 10 minutes.#3067

Merged
jmhooper merged 3 commits intomasterfrom
brody/migrations
Jul 8, 2019
Merged

Increase db migration timeout from 1 minute to 10 minutes.#3067
jmhooper merged 3 commits intomasterfrom
brody/migrations

Conversation

@brodygov
Copy link
Contributor

@brodygov brodygov commented Jul 2, 2019

Why: The current timeout is 1 minute, which is far too short when
you need to run a migration against a large database. This results in
needing manual recovery steps.

How: Change MIGRATION_STATEMENT_TIMEOUT from 60000 to 600000.

https://github.com/18F/identity-devops/issues/1514

**Why**: The current timeout is 1 minute, which is far too short when
you need to run a migration against a large database.

**How**: Change MIGRATION_STATEMENT_TIMEOUT from 60000 to 600000.

https://github.com/18F/identity-devops/issues/1514
@brodygov brodygov changed the title Increase migration timeout to 10 minutes. Increase migration timeout from 1 minute to 10 minutes. Jul 2, 2019
@brodygov brodygov changed the title Increase migration timeout from 1 minute to 10 minutes. Increase db migration timeout from 1 minute to 10 minutes. Jul 2, 2019
@jmhooper jmhooper marked this pull request as ready for review July 8, 2019 13:17
@jmhooper jmhooper merged commit 542950a into master Jul 8, 2019
@amathews-fs amathews-fs deleted the brody/migrations branch January 7, 2021 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants