mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 17:06:22 +02:00
Fix/websocket capacity increase (#230)
* Fix invalid variable name invocation * Fix error responses in websockets * Increase websocket limits to 50MB max message. Turn on Pulsar chunking by default.
This commit is contained in:
parent
21e7b856c4
commit
187b0e6581
7 changed files with 29 additions and 13 deletions
|
|
@ -66,6 +66,7 @@ class ConsumerProducer(BaseProcessor):
|
|||
self.producer = self.client.create_producer(
|
||||
topic=output_queue,
|
||||
schema=JsonSchema(output_schema),
|
||||
chunking_enabled=True,
|
||||
)
|
||||
|
||||
self.consumer = self.client.subscribe(
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ class Producer(BaseProcessor):
|
|||
self.producer = self.client.create_producer(
|
||||
topic=output_queue,
|
||||
schema=JsonSchema(output_schema),
|
||||
chunking_enabled=True,
|
||||
)
|
||||
|
||||
def send(self, msg, properties={}):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue