double the timeout duration for sanitize()

master
Aevann1 2022-06-29 03:39:33 +02:00
parent 19e6e7f4d9
commit e7460874e9
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ def render_emoji(html, regexp, edit, marseys_used, b=False):
def sanitize(sanitized, edit=False):
signal.signal(signal.SIGALRM, handler)
signal.alarm(1)
signal.alarm(2)
sanitized = sanitized.strip()