moderation: extract 3 day modqueue length to config.

This commit is contained in:
evazion
2020-08-12 11:22:57 -05:00
parent 3d3b5262cc
commit 0297b631fb
8 changed files with 15 additions and 13 deletions

View File

@@ -110,6 +110,11 @@ module Danbooru
40000
end
# How long pending posts stay in the modqueue before being deleted.
def moderation_period
3.days
end
# https://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
# https://guides.rubyonrails.org/configuring.html#configuring-action-mailer
def mail_delivery_method