Update page views counters a little bit more often (#11286)

This commit is contained in:
Krzysztof Rybka 2020-11-06 19:09:11 +01:00 committed by GitHub
parent 0b8f28e1c8
commit 397a1c2389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ class PageViewsController < ApplicationMetalController
def skip_page_view_update?
# We don't need to update the article page views every time.
rand(15) != 1
rand(8) != 1
end
def skip_organic_page_view_update?