1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 23:46:53 +00:00

create merge virtual repo task pool (#473)

* create merge virtual repo task pool

* use for range
This commit is contained in:
Xiangyue Cai
2021-06-30 11:21:57 +08:00
committed by GitHub
parent d8a4a9a72d
commit 537226aca7
4 changed files with 26 additions and 4 deletions

View File

@@ -923,7 +923,7 @@ func putUpdateBranchCB(rsp http.ResponseWriter, r *http.Request) *appError {
return &appError{err, "", http.StatusInternalServerError}
}
mergeVirtualRepo(repoID, "")
mergeVirtualRepoTasks <- repoID
go updateRepoSize(repoID)