Преглед на файлове

Increase refresh period

theenglishway (time) преди 4 години
родител
ревизия
7c4966deca
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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