Archived
1.0.4 - ograniczenia IP i edycja przekierowań
Wydanie WGTools-Extended / release (push) Successful in 15s
Wydanie WGTools-Extended / release (push) Successful in 15s
This commit is contained in:
1 parent
3841e93e32
commit
6e7eaa9282
13 files changed
+115
-17
No files matched your search
+2
-1
@@ -45,6 +45,7 @@ ALLOWED_ACTIONS = {
|
||||
"extended_ip_groups_set",
|
||||
"extended_forward_get",
|
||||
"extended_forward_add",
|
||||
"extended_forward_update",
|
||||
"extended_forward_delete",
|
||||
"route_create",
|
||||
"route_update",
|
||||
@@ -87,7 +88,7 @@ def run_helper(action: str, payload: dict[str, Any] | None = None, *, interface:
|
||||
# helper enough time to finish its transactional rollback/commit path
|
||||
# instead of killing it mid-update.
|
||||
timeout = 120
|
||||
elif action in {"raw_config_apply", "server_settings_apply", "extended_snat_apply", "extended_listen_apply", "extended_forward_add", "extended_forward_delete", "route_create", "route_update", "route_delete", "access_rule_create", "access_rule_update", "access_rule_delete"}:
|
||||
elif action in {"raw_config_apply", "server_settings_apply", "extended_snat_apply", "extended_listen_apply", "extended_forward_add", "extended_forward_update", "extended_forward_delete", "route_create", "route_update", "route_delete", "access_rule_create", "access_rule_update", "access_rule_delete"}:
|
||||
timeout = 90
|
||||
elif action == "migration_backup_create":
|
||||
timeout = 45
|
||||
|
||||
Reference in new issue
Block a user