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

A few optimizations for SQL queries related to repos.

- Support paging for listing owned repos
- Reduce SQL queries for getting and listing repos.
This commit is contained in:
Jonathan Xu
2017-04-06 14:58:59 +08:00
parent 345d4ad286
commit a9ed059634
8 changed files with 163 additions and 61 deletions

View File

@@ -174,7 +174,7 @@ static void start_rpc_service (CcnetClient *client, int cloud_mode)
searpc_server_register_function ("seafserv-threaded-rpcserver",
seafile_list_owned_repos,
"seafile_list_owned_repos",
searpc_signature_objlist__string_int());
searpc_signature_objlist__string_int_int_int());
searpc_server_register_function ("seafserv-threaded-rpcserver",
seafile_server_repo_size,