Skip to content

Commit 0f5e7f3

Browse files
committed
move variable to common
1 parent 9486830 commit 0f5e7f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mergin/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
# maximum size of GPKG file able to upload in one push (in bytes)
3131
MAX_UPLOAD_VERSIONED_SIZE = 5 * (1024**3)
3232

33+
# Maximum changes uploading to server
34+
MAX_UPLOAD_CHANGES = 100
35+
3336
# default URL for submitting logs
3437
MERGIN_DEFAULT_LOGS_URL = "https://g4pfq226j0.execute-api.eu-west-1.amazonaws.com/mergin_client_log_submit"
3538

mergin/local_changes.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
from typing import Optional, List, Tuple
44

55
from .utils import is_versioned_file
6-
from .common import MAX_UPLOAD_MEDIA_SIZE, MAX_UPLOAD_VERSIONED_SIZE
7-
8-
# Maximum changes uploading to server
9-
MAX_UPLOAD_CHANGES = 100
6+
from .common import MAX_UPLOAD_MEDIA_SIZE, MAX_UPLOAD_VERSIONED_SIZE, MAX_UPLOAD_CHANGES
107

118

129
# The custom exception

0 commit comments

Comments
 (0)