dont always enable hatchet (#809)

* dont always enable hatchet

* fix hatchet worker params

---------

Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
This commit is contained in:
2025-12-23 18:15:33 -05:00
committed by GitHub
parent 3cf9757ac2
commit 7b352f465e
3 changed files with 6 additions and 7 deletions

View File

@@ -287,9 +287,7 @@ async def _process_multitrack_recording_inner(
room_id=room.id,
)
# Start durable workflow if enabled (Hatchet) or room overrides it
durable_started = False
use_hatchet = settings.HATCHET_ENABLED or (room and room.use_hatchet)
use_hatchet = settings.HATCHET_ENABLED and room and room.use_hatchet
if room and room.use_hatchet and not settings.HATCHET_ENABLED:
logger.info(
@@ -836,7 +834,7 @@ async def reprocess_failed_daily_recordings():
)
continue
use_hatchet = settings.HATCHET_ENABLED or (room and room.use_hatchet)
use_hatchet = settings.HATCHET_ENABLED and room and room.use_hatchet
if use_hatchet:
# Hatchet requires a transcript for workflow_run_id tracking