Compare commits
2 Commits
5bc0fc5ff8
...
0a76bada43
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a76bada43 | ||
|
|
36a11575d2 |
@ -1,6 +1,6 @@
|
||||
{application,gmhive_client,
|
||||
[{description,"Gajumaru Hive Client"},
|
||||
{vsn,"0.4.5"},
|
||||
{vsn,"0.4.6"},
|
||||
{registered,[]},
|
||||
{applications,[kernel,stdlib,sasl,gproc,inets,ssl,enoise,
|
||||
gmconfig,gmhive_protocol,gmhive_worker]},
|
||||
|
||||
@ -129,12 +129,15 @@ call_connector(Req0) ->
|
||||
gmhc_connector:send(ViaId, #{call => Req#{ id => Id }}),
|
||||
receive
|
||||
{from_pool, #{reply := #{ id := Id, result := Result }}} ->
|
||||
erlang:demonitor(MRef),
|
||||
Result;
|
||||
{from_pool, #{error := #{ id := Id } = Error}} ->
|
||||
erlang:demonitor(MRef),
|
||||
{error, maps:remove(id, Error)};
|
||||
{'DOWN', MRef, _, _, _} ->
|
||||
{error, no_connection}
|
||||
after 5000 ->
|
||||
erlang:demonitor(MRef),
|
||||
{error, {timeout, process_info(self(), messages)}}
|
||||
end
|
||||
end.
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
{prefix,"gmhc"}.
|
||||
{author,"Ulf Wiger, QPQ AG"}.
|
||||
{desc,"Gajumaru Hive Client"}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,4,5}}}.
|
||||
{package_id,{"uwiger","gmhive_client",{0,4,6}}}.
|
||||
{deps,[{"uwiger","gmcuckoo",{1,2,3}},
|
||||
{"uwiger","gmhive_worker",{0,3,0}},
|
||||
{"otpr","eblake2",{1,0,1}},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user