Skip to content

Commit 490024f

Browse files
committed
Lazier timers
1 parent 89c9812 commit 490024f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/plausible/application.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ defmodule Plausible.Application do
138138
warmers: [
139139
refresh_all:
140140
{PlausibleWeb.TrackerScriptCache.All,
141-
interval: :timer.minutes(60) + Enum.random(1..:timer.seconds(10))},
141+
interval: :timer.minutes(180) + Enum.random(1..:timer.seconds(10))},
142142
refresh_updated_recently:
143-
{PlausibleWeb.TrackerScriptCache.RecentlyUpdated, interval: :timer.seconds(60)}
143+
{PlausibleWeb.TrackerScriptCache.RecentlyUpdated, interval: :timer.seconds(120)}
144144
]
145145
)
146146
end,

0 commit comments

Comments
 (0)