clean up job listing, bug fixes
This commit is contained in:
@@ -31,7 +31,7 @@ Danbooru::Application.configure do
|
||||
# config.force_ssl = true
|
||||
|
||||
# See everything in the log (default is :info)
|
||||
config.log_level = :info
|
||||
config.log_level = :error
|
||||
|
||||
# Prepend all log lines with the following tags
|
||||
# config.log_tags = [ :subdomain, :uuid ]
|
||||
|
||||
@@ -8,6 +8,10 @@ every 1.day do
|
||||
runner "PostPruner.new.prune!"
|
||||
end
|
||||
|
||||
every 1.day do
|
||||
runner "Upload.delete_all(['created_at < ?', 1.day.ago])"
|
||||
end
|
||||
|
||||
if environment == "production"
|
||||
every 1.hour do
|
||||
runner "AmazonBackup.execute"
|
||||
|
||||
Reference in New Issue
Block a user