Skip to content

Commit

Permalink
ocp: increase export timeout to 12 hours
Browse files Browse the repository at this point in the history
Signed-off-by: Benny Zlotnik <[email protected]>
  • Loading branch information
bennyz committed Apr 17, 2024
1 parent 78dddf5 commit 86cde3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/settings/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ func (r *Migration) Load() (err error) {
return liberr.Wrap(fmt.Errorf("failed to find environment variable %s", VirtV2vImage))
}
r.VirtV2vDontRequestKVM = getEnvBool(VirtV2vDontRequestKVM, false)
if r.CDIExportTokenTTL, err = getPositiveEnvLimit(CDIExportTokenTTL, 0); err != nil {

// Set timeout to 12 hours instead of the default 2
if r.CDIExportTokenTTL, err = getPositiveEnvLimit(CDIExportTokenTTL, 720); err != nil {
return liberr.Wrap(err)
}
if r.FileSystemOverhead, err = getNonNegativeEnvLimit(FileSystemOverhead, 10); err != nil {
Expand Down

0 comments on commit 86cde3c

Please sign in to comment.