kaxil commented on code in PR #60919:
URL: https://github.com/apache/airflow/pull/60919#discussion_r2717306018
##########
airflow-core/src/airflow/config_templates/config.yml:
##########
@@ -1446,6 +1446,24 @@ api:
type: string
example: ~
default: "False"
+ worker_refresh_interval:
+ description: |
+ Number of seconds between rolling worker refreshes for the API server.
+ When enabled, workers are periodically restarted using a rolling
restart
+ pattern (new workers spawn before old ones are killed) to prevent
memory
+ accumulation while maintaining zero downtime. Set to 0 to disable.
+ version_added: 3.2.0
+ type: integer
+ example: ~
+ default: "0"
Review Comment:
Yeah certainly an option.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]