diff options
author | Gustav Simonsson <[email protected]> | 2012-05-21 16:52:55 +0200 |
---|---|---|
committer | Gustav Simonsson <[email protected]> | 2012-05-21 16:52:55 +0200 |
commit | 7a92687ec2b44353fef273a9e1e731f64c4a6d2e (patch) | |
tree | a83a13e0eb3270f0fc85ec05511c2ccd4a696c86 /lib/os_mon/src/memsup.erl | |
parent | e4717301b73f2d7b2716b625e1b647b35d2815be (diff) | |
download | otp-7a92687ec2b44353fef273a9e1e731f64c4a6d2e.tar.gz otp-7a92687ec2b44353fef273a9e1e731f64c4a6d2e.tar.bz2 otp-7a92687ec2b44353fef273a9e1e731f64c4a6d2e.zip |
Add infinity timeout to os_mon calls
Diffstat (limited to 'lib/os_mon/src/memsup.erl')
-rw-r--r-- | lib/os_mon/src/memsup.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl index 5ef240f128..54771b4703 100644 --- a/lib/os_mon/src/memsup.erl +++ b/lib/os_mon/src/memsup.erl @@ -112,7 +112,7 @@ get_helper_timeout() -> set_helper_timeout(Seconds) -> case param_type(memsup_helper_timeout, Seconds) of true -> - os_mon:call(memsup, {set_helper_timeout, Seconds}); + os_mon:call(memsup, {set_helper_timeout, Seconds}, infinity); false -> erlang:error(badarg) end. |