1
0
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:
feiniks
2025-02-26 11:47:08 +08:00
committed by GitHub
parent 4181851fd0
commit d5fa18f120
6 changed files with 9 additions and 11 deletions

View File

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