backupdb2/backupdb2/common.py

5 lines
252 B
Python

MAX_QUEUED_CHUNKS = 5 # max size of pre-upload file chunk queue
MAX_PARALLEL_UPLOADS = 10 # max number of uploads happening in parallel
# memory usage will be the sum of the above numbers times the chunk size
CHUNK_SIZE = 1024 * 1024 * 10 # 10 MB