mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
Dashboard calculations are done with an async job now
This commit is contained in:
@ -239,6 +239,7 @@ class SiteSetting < ActiveRecord::Base
|
||||
setting(:delete_user_max_age, 7)
|
||||
setting(:delete_all_posts_max, 10)
|
||||
|
||||
|
||||
def self.generate_api_key!
|
||||
self.api_key = SecureRandom.hex(32)
|
||||
end
|
||||
|
Reference in New Issue
Block a user