xBis7 commented on code in PR #43941:
URL: https://github.com/apache/airflow/pull/43941#discussion_r1883676822


##########
airflow/jobs/scheduler_job_runner.py:
##########
@@ -170,6 +172,11 @@ class SchedulerJobRunner(BaseJobRunner, LoggingMixin):
 
     job_type = "SchedulerJob"
 
+    # key: dag_run.run_id | value: span
+    active_dagrun_spans = ThreadSafeDict()
+    # key: ti.key | value: span
+    active_ti_spans = ThreadSafeDict()

Review Comment:
   I added two dictionaries to simplify the logic but you are right. I'll use 
one common.



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

Reply via email to