Run at a lower frequency to avoid occupying the database too much
This commit is contained in:
parent
b6f010e491
commit
f724959e98
|
@ -92,7 +92,7 @@ function create_pleroma_blocklist {
|
|||
chmod +x $blocking_script_file
|
||||
|
||||
if ! grep -q "$blocking_script_file" /etc/crontab; then
|
||||
echo "*/1 * * * * root $blocking_script_file > /dev/null" >> /etc/crontab
|
||||
echo "*/2 * * * * root $blocking_script_file > /dev/null" >> /etc/crontab
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue