Merge pull request #155 from rocky-linux/hotfix/timeouts

hotfix: increase heartbeat timeout for updateinfo activity, too
This commit is contained in:
resf-prow[bot] 2023-11-09 04:03:44 +00:00 committed by GitHub
commit 1eae2071ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ func (c *Controller) UpdateInfoWorkflow(ctx workflow.Context, req *adminpb.AddUp
stage2Ctx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
ScheduleToStartTimeout: 25 * time.Hour,
StartToCloseTimeout: 30 * time.Hour,
HeartbeatTimeout: 30 * time.Second,
HeartbeatTimeout: 5 * time.Minute,
TaskQueue: c.mainQueue,
// Yumrepofs is locking for a short period so let's not wait too long to retry
RetryPolicy: &temporal.RetryPolicy{