Skip to content

Commit

Permalink
update default lease to be 10 minutes during deployment
Browse files Browse the repository at this point in the history
we do attempt to release leases, even if ctrl+c, so this should be ok
  • Loading branch information
tvdfly authored and dangra committed Jan 25, 2023
1 parent 263d5a5 commit c1cbd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/command/deploy/machines.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/superfly/flyctl/terminal"
)

const defaultLeaseTtl = 120 * time.Second
const defaultLeaseTtl = 10 * time.Minute
const defaultWaitTimeout = 120 * time.Second

// FIXME: move a lot of this stuff to internal/machine pkg... maybe all of it?
Expand Down

0 comments on commit c1cbd1d

Please sign in to comment.