Increase HeartbeatTimeout for BuildArchActivity

Currently the Rust builds fails, most likely due to a lock that happens
with aarch64. Either the heartbeat tick dies early and timeout happens
right before success or something else makes heartbeats not work at all.
Best solution for now is to just increase timeout.
This commit is contained in:
Mustafa Gezen 2023-10-23 09:53:48 +02:00
parent 805fef24e5
commit 2d8541533d
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ func (c *Controller) BuildWorkflow(ctx workflow.Context, req *peridotpb.SubmitBu
archCtx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
ScheduleToStartTimeout: 12 * time.Hour,
StartToCloseTimeout: 48 * time.Hour,
HeartbeatTimeout: 2 * time.Hour,
HeartbeatTimeout: 12 * time.Hour,
TaskQueue: archTaskQueue,
RetryPolicy: &temporal.RetryPolicy{
MaximumAttempts: 1,