increase filter_emojis_only timeout to 2 seconds

master
Aevann 2023-08-04 16:25:25 +03:00
parent 95d82073f3
commit 013dfce0ca
1 changed files with 1 additions and 1 deletions

View File

@ -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('<','&lt;').replace('>','&gt;')