Skip to content

[Compute Separation] Make ConnectedWorkerChannel stream timeout configurable #11664

@brettsam

Description

@brettsam

Context

ConnectedWorkerChannel.StartWorkerProcessAsync currently hardcodes a 30-second timeout for BeginInboundProcessing:

csharp BeginInboundProcessing(startStreamTimeout: TimeSpan.FromSeconds(30));

In the existing GrpcWorkerChannel, this value comes from WorkerConfig.CountOptions.ProcessStartupTimeout, which is customer-configurable via worker config.

Problem

In the separated compute model, there is no worker.config available on the host side since the worker runs on separate compute. We need a different configuration mechanism for this timeout.

Considerations

  • This may need to be a platform-level configuration knob rather than a customer-facing setting, since the host no longer has access to customer payload configuration.
  • Consider whether ExternalWorkerOptions (M4) is the right place for this, or if it belongs in hosting config.

References

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions