diff --git a/flyteplugins/go/tasks/plugins/webapi/agent/config.go b/flyteplugins/go/tasks/plugins/webapi/agent/config.go index f32bc8178a..f26499f320 100644 --- a/flyteplugins/go/tasks/plugins/webapi/agent/config.go +++ b/flyteplugins/go/tasks/plugins/webapi/agent/config.go @@ -27,7 +27,7 @@ var ( Size: 500000, ResyncInterval: config.Duration{Duration: 30 * time.Second}, Workers: 10, - MaxSystemFailures: 0, + MaxSystemFailures: 5, }, ResourceMeta: nil, }, @@ -42,7 +42,7 @@ var ( DefaultAgent: Deployment{ Endpoint: "", Insecure: true, - DefaultTimeout: config.Duration{Duration: 2 * time.Second}, + DefaultTimeout: config.Duration{Duration: 10 * time.Second}, }, // AsyncPlugin should be registered to at least one task type. // Reference: https://github.com/flyteorg/flyte/blob/master/flyteplugins/go/tasks/pluginmachinery/registry.go#L27