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 <jonathan.xu@seafile.com>
This commit is contained in:
Xiangyue Cai 2021-05-03 16:48:05 +08:00 committed by GitHub
parent 072a134183
commit 79ce7cc5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.