From 013dfce0ca2867ee7c2b23105be20d18b37642c2 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 4 Aug 2023 16:25:25 +0300 Subject: [PATCH] increase filter_emojis_only timeout to 2 seconds --- files/helpers/sanitize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 37a54fc72..7b30ffaf9 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -639,7 +639,7 @@ def allowed_attributes_emojis(tag, name, value): return False -@with_sigalrm_timeout(1) +@with_sigalrm_timeout(2) def filter_emojis_only(title, golden=True, count_emojis=False, graceful=False): title = title.replace("\n", "").replace("\r", "").replace("\t", "").replace('<','<').replace('>','>')