SAService Architect Back to designer
SAService ArchitectDocumentation
Scheduling guide Compose | Kubernetes | workerStopTimeout

Deployment and shutdown

Generated environments and Temporal-aware worker drain order.

When to use

Use this page while designing, implementing, operating, or troubleshooting scheduled and durable execution.

Behavior

  • Compose provisions PostgreSQL, Temporal Server, namespace initialization, admin tools, and UI before services.
  • Kubernetes output includes chart values, PostgreSQL, admin/UI, and metrics discovery.
  • Shutdown drains ordinary Sources, worker admission, graph work, Sinks, then durable clients.

Temporal-aware shutdown order

Timeouts properties

Related but distinct limits.

PropertyTypeDescription
service.shutdownTimeoutmilliseconds

Global graceful-shutdown deadline.

Minimum: 0
connector.workerStopTimeoutmilliseconds

Worker drain cap; zero inherits remaining service deadline.

Default: 0Minimum: 0

Product-level example

service.shutdownTimeout: 30000
temporalConnector.workerStopTimeout: 0