Skip to content

Commit

Permalink
refactor: allow sending store messages in DAQJobRemote
Browse files Browse the repository at this point in the history
  • Loading branch information
furkan-bilgin committed Nov 1, 2024
1 parent 60ac04b commit 66c349f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/daq/jobs/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from daq.base import DAQJob
from daq.jobs.handle_stats import DAQJobMessageStats
from daq.models import DAQJobConfig, DAQJobMessage
from daq.store.models import DAQJobMessageStore

DAQ_JOB_REMOTE_MAX_REMOTE_MESSAGE_ID_COUNT = 10000

Expand Down Expand Up @@ -69,9 +68,6 @@ def __init__(self, config: DAQJobRemoteConfig):
def handle_message(self, message: DAQJobMessage) -> bool:
if (
isinstance(message, DAQJobMessageStats)
or isinstance(
message, DAQJobMessageStore
) # TODO: we should be able to send store messages
or message.id in self._remote_message_ids
or not super().handle_message(message)
):
Expand Down

0 comments on commit 66c349f

Please sign in to comment.