Drop splay to 1/10 of default refresh
This commit is contained in:
parent
ceec140d99
commit
9a3cad4293
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ module FicTracker::Models
|
||||||
# chapters.each(&:refresh_content!)
|
# chapters.each(&:refresh_content!)
|
||||||
end
|
end
|
||||||
|
|
||||||
def apply_splay!(max: CONTENT_REFRESH_INTERVAL)
|
def apply_splay!(max: CONTENT_REFRESH_INTERVAL / 10)
|
||||||
self.last_metadata_refresh += rand(0..max)
|
self.last_metadata_refresh += rand(0..max)
|
||||||
self.last_content_refresh += rand(0..max)
|
self.last_content_refresh += rand(0..max)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue