This commit is contained in:
2026-02-28 02:45:16 +01:00
parent bc6ab2cf7a
commit e2f187910a
3 changed files with 7 additions and 4 deletions
+3
View File
@@ -31,6 +31,9 @@ A segment.
For more details, see the function and method docstrings. For more details, see the function and method docstrings.
## Changelog ## Changelog
### Version 0.1.2
- Bug fix
### Version 0.1.1 ### Version 0.1.1
- Bug fix: `__init__.py` tried to import from `_core` instead of `._core`. - Bug fix: `__init__.py` tried to import from `_core` instead of `._core`.
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "jeb-server-utils" name = "jeb-server-utils"
version = "0.1.1" version = "0.1.2"
description = "The utilities for the jeb server" description = "The utilities for the jeb server"
dependencies = ["config-parser", "jeb-utils"] dependencies = ["config-parser", "jeb-utils"]
license = "Apache-2.0" license = "Apache-2.0"
+3 -3
View File
@@ -421,12 +421,12 @@ class JEBServerUtils:
to_send = record_size_bytes to_send = record_size_bytes
for _ in range(record_size // jeb_utils.FETCH_RECORDS_CHUNK_SIZE): for _ in range(record_size // self.fetch_records_chunk_size):
to_send += logfile.read(jeb_utils.FETCH_RECORDS_CHUNK_SIZE) to_send += logfile.read(self.fetch_records_chunk_size)
# await send_block_function(b'\x01' + to_send) # await send_block_function(b'\x01' + to_send)
yield b'\x01' + to_send yield b'\x01' + to_send
to_send = b'' to_send = b''
to_send += logfile.read(record_size % jeb_utils.FETCH_RECORDS_CHUNK_SIZE) to_send += logfile.read(record_size % self.fetch_records_chunk_size)
# await send_block_function(b'\x01' + to_send) # await send_block_function(b'\x01' + to_send)
yield b'\x01' + to_send yield b'\x01' + to_send