Skip to content

Commit c1431fb

Browse files
authored
Merge pull request #270 from Netcracker/develop
fix: update migration build wait timeout
2 parents db43217 + b023d50 commit c1431fb

File tree

1 file changed

+1
-1
lines changed
  • qubership-apihub-service/migration/stages

1 file changed

+1
-1
lines changed

qubership-apihub-service/migration/stages/Utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (d OpsMigration) waitForBuilds(stage mView.OpsMigrationStage, round int) (i
9999
return processed, nil
100100
}
101101
start := time.Now()
102-
limitSec := time.Duration(totalCount) * time.Second * time.Duration(600) // limit per build with great reserve
102+
limitSec := time.Duration(totalCount) * time.Second * time.Duration(1800) // limit per build with great reserve
103103
for {
104104
count, err := d.cp.GetConnection().ModelContext(d.migrationCtx, &builds).
105105
WhereOrGroup(func(query *orm.Query) (*orm.Query, error) {

0 commit comments

Comments
 (0)