mirror of
https://github.com/benbusby/farside.git
synced 2025-04-19 14:55:50 -04:00
refactor
This commit is contained in:
parent
84caea3af2
commit
d5c3ec736c
@ -80,7 +80,7 @@ defmodule Farside.Service do
|
||||
def handle_cast(:check, state) do
|
||||
dt =
|
||||
DateTime.utc_now()
|
||||
|> DateTime.add(-60, :second)
|
||||
|> DateTime.add(-150, :second)
|
||||
|
||||
state =
|
||||
case DateTime.compare(dt, state.last_update) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user