Skip to content

Commit

Permalink
Set stream name.
Browse files Browse the repository at this point in the history
  • Loading branch information
dspeck1 committed Dec 23, 2024
1 parent 2965b15 commit 428dfbf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,10 @@ def detector_load(conf: dict, instrument: str) -> list[int]:

async def fan_out_msg(
redis_client,
fan_out_topic,
data
):
logging.info(f"sending msg {data}")
await redis_client.xadd(fan_out_topic, data)
await redis_client.xadd("instrument:lsstcomcamsim", data)

async def main() -> None:

Expand Down Expand Up @@ -433,7 +432,6 @@ async def main() -> None:

fan_out_msg(
redis_client,
fan_out_topic,
fan_out_message
)
)
Expand Down

0 comments on commit 428dfbf

Please sign in to comment.