Increase signing heartbeat timeout to 10 minutes

Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
This commit is contained in:
Mustafa Gezen 2022-08-17 00:52:00 +02:00
parent e810946c70
commit 663d0bc99f
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -114,7 +114,7 @@ func (s *Server) SignArtifactsWorkflow(ctx workflow.Context, artifacts models.Ta
signArtifactCtx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{ signArtifactCtx := workflow.WithActivityOptions(ctx, workflow.ActivityOptions{
ScheduleToStartTimeout: 10 * time.Hour, ScheduleToStartTimeout: 10 * time.Hour,
StartToCloseTimeout: 24 * time.Hour, StartToCloseTimeout: 24 * time.Hour,
HeartbeatTimeout: time.Minute, HeartbeatTimeout: 10 * time.Minute,
TaskQueue: TaskQueue, TaskQueue: TaskQueue,
}) })
futures = append(futures, peridotworkflow.FutureContext{ futures = append(futures, peridotworkflow.FutureContext{