Skip to content
Snippets Groups Projects
Commit f4c137eb authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Add module to control chunk size.

parent 3c0812f4
No related branches found
No related tags found
1 merge request!11Chunking
# Using a module file to store the desired chunk size.
chunk_size = "10MB"
def change_chunk_size(new_chunk_size: str):
global chunk_size
chunk_size = new_chunk_size
# This variable will be used in many places.
# One can modify this variable directly assigning a new value
# enstools.encoding.chunk_size.chunk_size = "1MB"
# or using the function change_chunk_size("1MB")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment