removed async
This commit is contained in:
parent
44c4f4045f
commit
90e9b9bb05
@ -19,7 +19,8 @@ def convert_to_bytes(size: int | str) -> int:
|
||||
|
||||
raise ValueError
|
||||
|
||||
async def generate_data(size: int, buffer_size: int = 4 * 1024) -> bytes:
|
||||
|
||||
def generate_data(size: int, buffer_size: int = 4 * 1024) -> bytes:
|
||||
size_left = size
|
||||
|
||||
while size_left > buffer_size:
|
||||
|
Loading…
Reference in New Issue
Block a user