Fix/chunking not enabled (#364)

* Enable chunking by default in producer

* Fix some issues including uploading large docs
This commit is contained in:
cybermaggedon 2025-05-06 00:28:20 +01:00 committed by GitHub
parent 844547ab5f
commit 9e4eb634a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 17 additions and 6 deletions

View file

@ -105,7 +105,7 @@ def serialize_document_metadata(message):
if message.user:
ret["user"] = message.user
if message.tags:
if message.tags is not None:
ret["tags"] = message.tags
return ret
@ -132,7 +132,7 @@ def serialize_processing_metadata(message):
if message.collection:
ret["collection"] = message.collection
if message.tags:
if message.tags is not None:
ret["tags"] = message.tags
return ret