diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-07-30 13:40:40 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2019-07-30 13:40:40 +0300 |
commit | 81996b153a7b071f02bc8655cb4a395d65672a58 (patch) | |
tree | 6e94744e8a71b92f801df4224d55f36dd8bab830 /src/mod_stream_mgmt.erl | |
parent | Correctly report resume timeout (diff) |
Fix previous commit
Diffstat (limited to 'src/mod_stream_mgmt.erl')
-rw-r--r-- | src/mod_stream_mgmt.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_stream_mgmt.erl b/src/mod_stream_mgmt.erl index e086b29cc..45c30e161 100644 --- a/src/mod_stream_mgmt.erl +++ b/src/mod_stream_mgmt.erl @@ -370,8 +370,8 @@ handle_enable(#{mgmt_timeout := DefaultTimeout, #sm_enable{resume = Resume, max = Max}) -> Timeout = if Resume == false -> 0; - Max /= undefined, Max > 0, Max =< MaxTimeout -> - Max; + Max /= undefined, Max > 0, Max*1000 =< MaxTimeout -> + Max*1000; true -> DefaultTimeout end, |