Merge pull request #4439 from betagouv/allow_long_migration_in_deploy
Modifie le déploiement pour autoriser des longues migrations (5min)
This commit is contained in:
commit
a6d6d72af5
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ desc "Deploys the current version to the server."
|
|||
task :deploy do
|
||||
command 'export PATH=$PATH:/home/ds/.rbenv/bin:/home/ds/.rbenv/shims'
|
||||
command 'source /home/ds/.profile'
|
||||
# increase db timeout to 5 minutes to allow long migration
|
||||
command 'export PG_STATEMENT_TIMEOUT=300000'
|
||||
|
||||
deploy do
|
||||
# Put things that will set up an empty directory into a fully set-up
|
||||
|
|
Loading…
Reference in a new issue