There was an error while loading. Please reload this page.
publish
1 parent 9e12680 commit b5d27b5Copy full SHA for b5d27b5
1 file changed
mongoose/core/processing.py
@@ -74,6 +74,7 @@ def publish(self, topic: ProcessingTopic, data: Any):
74
q.put_nowait(data)
75
except Full as e:
76
logger.error(f"Failed to publish data to {topic}: {e}")
77
+ raise e
78
79
def subscribe(self, topic: ProcessingTopic | List[ProcessingTopic], subscriber_id: str, queue_size=100) -> Queue:
80
"""Subscribe to one or more topics and receive a dedicated queue for receiving data.
0 commit comments