mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 02:16:36 +00:00
refactor
This commit is contained in:
parent
84caea3af2
commit
d5c3ec736c
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ defmodule Farside.Service do
|
||||||
def handle_cast(:check, state) do
|
def handle_cast(:check, state) do
|
||||||
dt =
|
dt =
|
||||||
DateTime.utc_now()
|
DateTime.utc_now()
|
||||||
|> DateTime.add(-60, :second)
|
|> DateTime.add(-150, :second)
|
||||||
|
|
||||||
state =
|
state =
|
||||||
case DateTime.compare(dt, state.last_update) do
|
case DateTime.compare(dt, state.last_update) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue