Add Pg statement timeout variable to allow long migration
This commit is contained in:
parent
96b5817cbf
commit
54d6d21c27
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ desc "Deploys the current version to the server."
|
||||||
task :deploy do
|
task :deploy do
|
||||||
command 'export PATH=$PATH:/home/ds/.rbenv/bin:/home/ds/.rbenv/shims'
|
command 'export PATH=$PATH:/home/ds/.rbenv/bin:/home/ds/.rbenv/shims'
|
||||||
command 'source /home/ds/.profile'
|
command 'source /home/ds/.profile'
|
||||||
|
# increase db timeout to 5 minutes to allow long migration
|
||||||
|
command 'export PG_STATEMENT_TIMEOUT=300000'
|
||||||
|
|
||||||
deploy do
|
deploy do
|
||||||
# Put things that will set up an empty directory into a fully set-up
|
# Put things that will set up an empty directory into a fully set-up
|
||||||
|
|
Loading…
Reference in a new issue