Hotfix: hardcode increase client timeouts (#18)

This commit is contained in:
Anton Belyaev 2018-05-16 19:57:16 +03:00 committed by GitHub
parent 52183b5006
commit cec0a01497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,8 @@ call(ServiceName, Function, Args) ->
Call = {Service, Function, Args},
Opts = #{
url => Url,
event_handler => scoper_woody_event_handler
event_handler => scoper_woody_event_handler,
net_opts => [{recv_timeout, 60000}, {connect_timeout, 1000}]
},
Context = woody_context:new(),
case woody_client:call(Call, Opts, Context) of