소스 검색

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