From 79ce7cc5cc95c888104a7e03dfecb725d37dd0bb Mon Sep 17 00:00:00 2001 From: Xiangyue Cai Date: Mon, 3 May 2021 16:48:05 +0800 Subject: [PATCH] add fs_id_list_request_timeout and max_sync_file_count (#27) * add fs_id_list_request_timeout and max_sync_file_count * Update seafile-conf.md Modified description for max_sync_file_count and fs_id_list_request_timeout. Co-authored-by: Jiaqiang Xu --- manual/config/seafile-conf.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manual/config/seafile-conf.md b/manual/config/seafile-conf.md index ed586737..f6112b52 100644 --- a/manual/config/seafile-conf.md +++ b/manual/config/seafile-conf.md @@ -132,6 +132,14 @@ http_temp_scan_interval = x ``` +New in Seafile Pro 7.1.16 and Pro 8.0.3: You can set the maximum number of files contained in a library that can be synced by the Seafile client. The default is 100000. When you download a repo, Seafile client will request fs id list, and you can control the timeout period of this request through `fs_id_list_request_timeout` configuration, which defaults to 5 minutes. These two options are added to prevent long fs-id-list requests from overloading the server. + +``` +[fileserver] +max_sync_file_count = 100000 +fs_id_list_request_timeout = 300 +``` + ## Database configuration The whole database configuration is stored in the `[database]` section of the configuration file, whether you use SQLite, MySQL or PostgreSQL.