Skip to content

Commit 3d2de20

Browse files
authored
retry logs in ms (#504)
1 parent 64fe22f commit 3d2de20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/req/steps.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2108,7 +2108,7 @@ defmodule Req.Steps do
21082108
iex> delay = fn n -> trunc(Integer.pow(2, n) * 1000 * (1 - 0.1 * :rand.uniform())) end
21092109
iex> Req.get!("https://httpbin.org/status/500,200", retry_delay: delay).status
21102110
# 08:43:19.101 [warning] retry: got response with status 500, will retry in 941ms, 2 attempts left
2111-
# 08:43:22.958 [warning] retry: got response with status 500, will retry in 1877s, 1 attempt left
2111+
# 08:43:22.958 [warning] retry: got response with status 500, will retry in 1877ms, 1 attempt left
21122112
200
21132113
21142114
"""

0 commit comments

Comments
 (0)