increase sanitize timeout from 5 seconds to 10 seconds

pull/78/head
Aevann1 2022-12-15 21:31:30 +02:00
parent 84cfc21b0b
commit 0ba5469424
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ def sanitize_settings_text(sanitized:Optional[str], max_length:Optional[int]=Non
return sanitized
@with_sigalrm_timeout(5)
@with_sigalrm_timeout(10)
def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys=False, torture=False, sidebar=False):
sanitized = sanitized.strip()