1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-15 22:59:43 +00:00

Retry upload when detecting concurrent uploads (#564)

* Retry upload when detecting concurrent uploads

* Check conflict when update branch and set concurrent upload error

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
feiniks
2022-07-15 14:45:36 +08:00
committed by GitHub
parent 3a47cf7ab2
commit 8c9043d2c6
9 changed files with 286 additions and 24 deletions

View File

@@ -171,7 +171,7 @@ start_index_task (gpointer data, gpointer user_data)
id_list = g_list_reverse (id_list);
size_list = g_list_reverse (size_list);
ret = post_files_and_gen_commit (idx_para->filenames,
idx_para->repo,
idx_para->repo->id,
idx_para->user,
idx_para->ret_json ? &ret_json : NULL,
idx_para->replace_existed,