1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 08:16:07 +00:00

add-zip-task-request-limit (#6825)

* add-zip-task-request-limit

* update

* Update settings.py

* Update share_link_zip_task.py

* Update test_settings.py
This commit is contained in:
Ranjiwei
2024-09-23 22:37:06 +08:00
committed by GitHub
parent 315fcc014e
commit 99bc3150ca
5 changed files with 23 additions and 2 deletions

View File

@@ -1183,6 +1183,8 @@ export const Utils = {
);
}
errorMsg = gettext('Permission denied');
} else if (error.response.status == 429) {
errorMsg = gettext('Too many requests');
} else if (error.response.data &&
error.response.data['error_msg']) {
errorMsg = error.response.data['error_msg'];