mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-22 02:38:30 +00:00
Merge pull request #155 from rocky-linux/hotfix/timeouts
hotfix: increase heartbeat timeout for updateinfo activity, too
This commit is contained in:
commit
1eae2071ae
@ -281,7 +281,7 @@ func (c *Controller) UpdateInfoWorkflow(ctx workflow.Context, req *adminpb.AddUp
|
|||||||
stage2Ctx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
|
stage2Ctx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
|
||||||
ScheduleToStartTimeout: 25 * time.Hour,
|
ScheduleToStartTimeout: 25 * time.Hour,
|
||||||
StartToCloseTimeout: 30 * time.Hour,
|
StartToCloseTimeout: 30 * time.Hour,
|
||||||
HeartbeatTimeout: 30 * time.Second,
|
HeartbeatTimeout: 5 * time.Minute,
|
||||||
TaskQueue: c.mainQueue,
|
TaskQueue: c.mainQueue,
|
||||||
// Yumrepofs is locking for a short period so let's not wait too long to retry
|
// Yumrepofs is locking for a short period so let's not wait too long to retry
|
||||||
RetryPolicy: &temporal.RetryPolicy{
|
RetryPolicy: &temporal.RetryPolicy{
|
||||||
|
Loading…
Reference in New Issue
Block a user