diff --git a/src/machinery_mg_backend.erl b/src/machinery_mg_backend.erl index 9a553a0..289f347 100644 --- a/src/machinery_mg_backend.erl +++ b/src/machinery_mg_backend.erl @@ -325,7 +325,7 @@ marshal(action, V) when is_list(V) -> marshal(action, V) -> marshal(action, [V]); -marshal(timer, {timeout, V}) when V > 0 -> +marshal(timer, {timeout, V}) -> {timeout, marshal(integer, V)}; marshal(timer, {deadline, V}) ->