Skip to content

Commit

Permalink
permanent lock by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorntrondsen committed May 20, 2024
1 parent 9d19355 commit c64db10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/capistrano/tasks/deploy-lock.rake
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
set :deploy_lock_file, -> { File.join(shared_path, 'deploy-lock.yml') }
set :deploy_lock_roles, -> { :app }
set :default_lock_expiry, (24 * 60 * 60)
set :default_lock_expiry, (15 * 60) # 15 minutes
set :deploy_lock, false
set :lock_message, nil
set :lock_expiry, nil
# set :lock_expiry, nil
set :lock_expiry, false

namespace :deploy do

Expand Down

0 comments on commit c64db10

Please sign in to comment.