increase sanitize timeout limit from 2 seconds to 5 seconds

master
Aevann1 2022-09-29 12:34:09 +02:00
parent b93b96bb77
commit 3006da3f8f
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ def with_sigalrm_timeout(timeout: int):
return inner return inner
@with_sigalrm_timeout(2) @with_sigalrm_timeout(5)
def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys=False, torture=False): def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys=False, torture=False):
sanitized = sanitized.strip() sanitized = sanitized.strip()