fix(General): use multipart message header for file uploader

This commit is contained in:
2025-04-17 15:10:12 +08:00
parent 56bd0a3025
commit 7bc92f9614
+1 -1
View File
@@ -57,7 +57,7 @@ async def publish_file_to_rabbitmq(
delivery_mode=delivery_mode,
headers={
'file_name': file_path.name,
'offset': _offset,
'pos': _offset,
'total_size': _file_size,
'chunk_size': len(_chunk),
'eof': END_OF_FILE if max_chunk_size + _offset >= _file_size else IN_PROGRESS