Skip to content

Commit

Permalink
Introduce wait between a3m read retries
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Mar 28, 2024
1 parent d787a3b commit c164edf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/a3m/a3m.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func (a *CreateAIPActivity) Execute(
}

if readResp.Status == transferservice.PackageStatus_PACKAGE_STATUS_PROCESSING {
time.Sleep(time.Second / 2)
continue
}

Expand Down

0 comments on commit c164edf

Please sign in to comment.