Skip to content

Commit

Permalink
Made 'prompt_data_update' pub/sub
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Jan 17, 2025
1 parent 47b7005 commit f16d922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/klatchat_observer/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -980,8 +980,8 @@ def forward_prompts_data_update(self, data: dict):
self.send_message(
request_data=data,
vhost=self.get_vhost("chatbots"),
queue="prompts_data_update",
expiration=3000,
exchange="prompts_data_update",
exchange_type=ExchangeType.fanout.value,
)

def _sio_emit(self, event: str, data: dict):
Expand Down

0 comments on commit f16d922

Please sign in to comment.