diff options
author | Björn Gustavsson <[email protected]> | 2010-03-08 14:42:03 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-03-08 15:36:00 +0100 |
commit | dff8572b12a00155e2cf6f21677af6dd9a3ffeb6 (patch) | |
tree | e18eefe6f1435ad100f4a25f5e83000c85c58f8c /.gitignore | |
parent | dfd80f7cea795bfb3a35eaea2c0bc98960002aa2 (diff) | |
download | otp-dff8572b12a00155e2cf6f21677af6dd9a3ffeb6.tar.gz otp-dff8572b12a00155e2cf6f21677af6dd9a3ffeb6.tar.bz2 otp-dff8572b12a00155e2cf6f21677af6dd9a3ffeb6.zip |
sasl: Use gen_server:call/3 with infinity timeout
gen_server:call/2,3 now sets up a monitor to make sure that
it will be noticed if the called process dies. Therefore,
there is almost never a good reason to use gen_server:call/2
with its default 5 seconds timeout. Use gen_server:call/3
with the 'infinity' timeout instead.
To make sure we use the 'infinity' timeout every time,
wrap the to call gen_server:call/3 in a local call/1 function
in each module.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions