turbaszek commented on a change in pull request #9748:
URL: https://github.com/apache/airflow/pull/9748#discussion_r452625707



##########
File path: chart/templates/workers/worker-kedaautoscaler.yaml
##########
@@ -42,6 +42,7 @@ spec:
   triggers:
     - type: postgresql
       metadata:
+        targetQueryValue: "1"
         connection: AIRFLOW_CONN_AIRFLOW_DB
         query: "SELECT ceil(COUNT(*)::decimal / 16) FROM task_instance WHERE 
state='running' OR state='queued'"

Review comment:
       Btw. can we template the `16` value?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to