Widen default splay width to content interval
This commit is contained in:
parent
08b048540c
commit
a1a7cc80cf
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: 1 * 60 * 60)
|
def apply_splay!(max: CONTENT_REFRESH_INTERVAL)
|
||||||
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