mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-11 04:09:08 +00:00
Adjust size of max_download_dir_size and max_upload_size (#739)
* Adjust size of max_download_dir_size and max_upload_size * Update ci python --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -241,7 +241,7 @@ check_tmp_file_list (GList *tmp_files, int *error_code)
|
||||
max_upload_size = seaf_cfg_manager_get_config_int64 (seaf->cfg_mgr, "fileserver",
|
||||
"max_upload_size");
|
||||
if (max_upload_size > 0)
|
||||
max_upload_size = max_upload_size * ((gint64)1 << 20);
|
||||
max_upload_size = max_upload_size * 1000000;
|
||||
else
|
||||
max_upload_size = -1;
|
||||
|
||||
|
Reference in New Issue
Block a user