What is an Environment in Wove
mainAn environment is a persistent, named execution profile. While individual weaves are lightweight and non-persistent, environments store durable configuration regarding where work runs, concurrency limits, and delivery policies.
Use environments to:
- Offload specific tasks to external systems (queues, clusters, batch schedulers) while keeping others local.
- Apply shared defaults like
retries,timeout, ormax_workersacross a project. - Decouple backend infrastructure configuration from your task code.
- Switch infrastructure globally by updating
wove.config(...)instead of modifying individual decorators.