correlator: fix two comments left describing the removed tactical path (#134)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tbknwttzou4s46PAykmtix
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
b1884852d5
commit
422e9a4dc8
@@ -959,8 +959,8 @@ def _run_decision(ctx: dict) -> dict:
|
|||||||
if talkgroup_id is not None and system_id:
|
if talkgroup_id is not None and system_id:
|
||||||
tg_str = str(talkgroup_id)
|
tg_str = str(talkgroup_id)
|
||||||
# talkgroup_name may be None when the upload form omits it (node sets it
|
# talkgroup_name may be None when the upload form omits it (node sets it
|
||||||
# directly on the Firestore call doc). Fall back to the call doc so that
|
# directly on the Firestore call doc). Fall back to the call doc so the
|
||||||
# dispatch-channel strictness works regardless of how the call arrived.
|
# log lines below still name the channel.
|
||||||
effective_talkgroup_name = talkgroup_name or call_doc.get("talkgroup_name")
|
effective_talkgroup_name = talkgroup_name or call_doc.get("talkgroup_name")
|
||||||
if effective_talkgroup_name != talkgroup_name:
|
if effective_talkgroup_name != talkgroup_name:
|
||||||
logger.info(
|
logger.info(
|
||||||
@@ -1730,7 +1730,7 @@ def _call_fits_incident(
|
|||||||
# signed value: the re-correlation sweep anchors `now` to the call's own
|
# signed value: the re-correlation sweep anchors `now` to the call's own
|
||||||
# started_at, which can be earlier than the incident's last activity and
|
# started_at, which can be earlier than the incident's last activity and
|
||||||
# send the signed value negative — silently defeating every `idle_min`
|
# send the signed value negative — silently defeating every `idle_min`
|
||||||
# gate below (content-divergence veto and the tactical default alike).
|
# gate below, the content-divergence veto included.
|
||||||
# See `_idle_gate_minutes` docstring. The signed value is reported to
|
# See `_idle_gate_minutes` docstring. The signed value is reported to
|
||||||
# callers separately as `corr_incident_idle_min` (they compute it via
|
# callers separately as `corr_incident_idle_min` (they compute it via
|
||||||
# `_incident_idle_minutes` themselves) — nothing here needs it.
|
# `_incident_idle_minutes` themselves) — nothing here needs it.
|
||||||
|
|||||||
Reference in New Issue
Block a user