Skip to content

Commit

Permalink
[server] Schudule size computation after http sync upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
killing committed Dec 25, 2014
1 parent c3c3f78 commit d78f5b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/http-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,8 @@ put_update_branch_cb (evhtp_request_t *req, void *arg)
seaf_repo_manager_cleanup_virtual_repos (seaf->repo_mgr, repo_id);
seaf_repo_manager_merge_virtual_repo (seaf->repo_mgr, repo_id, NULL);

schedule_repo_size_computation (seaf->size_sched, repo_id);

evhtp_send_reply (req, EVHTP_RES_OK);

out:
Expand Down

0 comments on commit d78f5b5

Please sign in to comment.