Skip to content

Commit fc89483

Browse files
committed
Removed extra sqlite checkpoint that was causing upload issue
1 parent 45648e4 commit fc89483

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mergin/client_push.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ def push_project_async(mc, directory):
133133
total_size = 0
134134
# prepare file chunks for upload
135135
for file in upload_files:
136-
# do checkpoint to push changes from wal file to gpkg if there is no diff
137-
if "diff" not in file and mp.is_versioned_file(file["path"]):
138-
do_sqlite_checkpoint(mp.fpath(file["path"]), mp.log)
139-
file["checksum"] = generate_checksum(mp.fpath(file["path"]))
140136
file['location'] = mp.fpath_meta(file['diff']['path']) if 'diff' in file else mp.fpath(file['path'])
141137

142138
for chunk_index, chunk_id in enumerate(file["chunks"]):

0 commit comments

Comments
 (0)