Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/arroyo_reduction/app_xps.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ async def start() -> None:
asyncio.create_task(vector_save_publisher.start())

# Initialize the TiledResultsPublisher for saving vectors to Tiled
tiled_publisher = TiledResultsPublisher.from_settings(app_settings.tiled_publisher)
asyncio.create_task(tiled_publisher.start())
# tiled_publisher = TiledResultsPublisher.from_settings(app_settings.tiled_publisher)
# asyncio.create_task(tiled_publisher.start())

# NEW: Initialize the XPS-specific local image publisher
xps_local_image_publisher = XPSTiledLocalImagePublisher.from_settings(app_settings.local_image_publisher)
Expand Down Expand Up @@ -92,7 +92,7 @@ async def start() -> None:
operator = LatentSpaceOperator.from_settings(app_settings, settings.lse_reducer)
operator.add_publisher(ws_publisher)
operator.add_publisher(vector_save_publisher)
operator.add_publisher(tiled_publisher)
# operator.add_publisher(tiled_publisher)
operator.add_publisher(xps_local_image_publisher) # NEW: Add this line

# Use from_settings() pattern (consistent with ZMQFrameListener)
Expand Down
2 changes: 1 addition & 1 deletion src/arroyo_reduction/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LSEWSResultPublisher(Publisher):
connected_clients = set()
current_start_message = None

def __init__(self, host: str = "localhost", port: int = 8765, path="/lse"):
def __init__(self, host: str = "localhost", port: int = 8765, path="/lse_operator"):

super().__init__()
self.host = host
Expand Down