瀏覽代碼

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
   use VaccinsWeb, :live_view
   alias Vaccins.{LocationStore, Search}
   alias Vaccins.{LocationStore, Search}
 
 
-  @refresh_period_ms 2 * 1000
+  @refresh_period_ms 5 * 1000
 
 
   @impl true
   @impl true
   def mount(_params, _session, socket) do
   def mount(_params, _session, socket) do