Skip to content

Commit

Permalink
fix incorrect table name passing in notify broadcast (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen authored Nov 6, 2024
1 parent 44ff0ac commit 95661bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ui_backend_service/api/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def handle_trigger_msg(self, msg: str):
# also keepalive for run heartbeats.
self.event_emitter.emit('run-heartbeat', 'update', data)
# also broadcast as a run heartbeat update, as otherwise these receive no updates
await _broadcast(self.event_emitter, "UPDATE", self.db.run_table_postgres.table_name, data)
await _broadcast(self.event_emitter, "UPDATE", self.db.run_table_postgres, data)

# Notify when Run parameters are ready.
if operation == "INSERT" and \
Expand Down

0 comments on commit 95661bc

Please sign in to comment.