Drop splay to 1/10 of default refresh

This commit is contained in:
Alexander Olofsson 2024-09-16 20:42:01 +02:00
parent ceec140d99
commit 9a3cad4293
Signed by: ace
GPG key ID: D439C9470CB04C73

View file

@ -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