Limit expirations for each cron execution to 50.
authorMark Felder <feld@FreeBSD.org>
Sat, 8 Aug 2020 17:49:02 +0000 (12:49 -0500)
committerMark Felder <feld@FreeBSD.org>
Sat, 8 Aug 2020 17:49:02 +0000 (12:49 -0500)
commite08ea01d09c67a93801aa05d33bad0eb24dfca8b
tree20e3220e1780e66faa82113f56cd6e55b242b663
parent761cc5b4a2b4c0ef610ae7296f614ec4c9ceccad
Limit expirations for each cron execution to 50.

This should prevent servers from being crushed. 50/min is a pretty good rate.
lib/pleroma/activity_expiration.ex