diff options
author | Jimmy Zöger <[email protected]> | 2015-08-20 15:30:43 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-09-09 14:35:46 +0200 |
commit | 63f3bcc5e1d9290b3b3d6d5cfdd5a7ae53732cd6 (patch) | |
tree | c60328e4d80d1e5b3cd8d4e500baa00eee8d6056 /lib | |
parent | ee5587d585052fe7b64c972029a6c68c403b71dc (diff) | |
download | otp-63f3bcc5e1d9290b3b3d6d5cfdd5a7ae53732cd6.tar.gz otp-63f3bcc5e1d9290b3b3d6d5cfdd5a7ae53732cd6.tar.bz2 otp-63f3bcc5e1d9290b3b3d6d5cfdd5a7ae53732cd6.zip |
Correct conversion from seconds to milliseconds
Diffstat (limited to 'lib')
-rw-r--r-- | lib/inets/src/http_client/httpc_response.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc_response.erl b/lib/inets/src/http_client/httpc_response.erl index 10af1949a4..4bf2ba2b9b 100644 --- a/lib/inets/src/http_client/httpc_response.erl +++ b/lib/inets/src/http_client/httpc_response.erl @@ -328,7 +328,7 @@ status_service_unavailable(Response = {_, Headers, _}, Request) -> undefined -> status_server_error_50x(Response, Request); Time when (length(Time) < 3) -> % Wait only 99 s or less - NewTime = list_to_integer(Time) * 100, % time in ms + NewTime = list_to_integer(Time) * 1000, % time in ms {_, Data} = format_response(Response), {retry, {NewTime, Request}, Data}; _ -> |