Server: Replace erlang.now
This commit is contained in:
parent
b5580f3c59
commit
a1689624ff
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ defmodule Majic.Server do
|
|||
|
||||
@doc false
|
||||
def available({:call, from}, {:perform, path}, data) do
|
||||
data = %{data | cycles: data.cycles + 1, request: {path, from, :erlang.now()}}
|
||||
data = %{data | cycles: data.cycles + 1, request: {path, from, :erlang.timestamp()}}
|
||||
|
||||
arg =
|
||||
case path do
|
||||
|
|
Loading…
Reference in a new issue