mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-02 07:54:27 +00:00
do not compute repo size directly (#474)
This commit is contained in:
@@ -925,9 +925,7 @@ func putUpdateBranchCB(rsp http.ResponseWriter, r *http.Request) *appError {
|
||||
|
||||
mergeVirtualRepo(repoID, "")
|
||||
|
||||
if err := computeRepoSize(repoID); err != nil {
|
||||
return &appError{err, "", http.StatusInternalServerError}
|
||||
}
|
||||
go updateRepoSize(repoID)
|
||||
|
||||
rsp.WriteHeader(http.StatusOK)
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user