Procházet zdrojové kódy

Increase refresh period

theenglishway (time) před 4 roky
rodič
revize
7c4966deca
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lib/vaccins_web/live/index.ex

+ 1 - 1
lib/vaccins_web/live/index.ex

@@ -2,7 +2,7 @@ defmodule VaccinsWeb.IndexLive do
   use VaccinsWeb, :live_view
   alias Vaccins.{LocationStore, Search}
 
-  @refresh_period_ms 2 * 1000
+  @refresh_period_ms 5 * 1000
 
   @impl true
   def mount(_params, _session, socket) do