1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

mod_antispam: increase timeout when waiting for dump file

This commit is contained in:
Stefan Strigler 2025-06-17 17:21:58 +02:00
parent 85f05192c8
commit d9a7b67f0e

View file

@ -247,7 +247,7 @@ rtbl_domains_whitelisted(Config) ->
spam_dump_file(Config) ->
{ok, CWD} = file:get_cwd(),
Filename = filename:join([CWD, "spam.log"]),
?retry(100, 10,
?retry(100, 100,
?match(true, size(get_bytes(Filename)) > 0)),
From = jid:make(<<"spammer_jid">>, <<"localhost">>, <<"spam_client">>),
To = my_jid(Config),