mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
[thrift] erlang: dialyzer bug: tSocket reading of send_timeout preference
Reviewed By: cpiro Test Plan: make dialyzer Revert Plan: sure git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665526 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53e571968f
commit
f0cf2a3745
@ -76,7 +76,7 @@ effectful_open(This) ->
|
||||
{reuseaddr, true},
|
||||
{nodelay, true},
|
||||
{send_timeout, case application:get_env(thrift, socket_send_timeout) of
|
||||
Millis when is_integer(Millis), Millis > 0 -> Millis;
|
||||
{ok, Millis} when is_integer(Millis), Millis > 0 -> Millis;
|
||||
_Else -> 5000
|
||||
end}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user