Bondy is an open source, always-on and scalable application networking platform connecting all elements of a distributed application—offering service and event mesh capabilities combined. Bondy implements the open Web Application Messaging Protocol (WAMP) and is written in Erlang.
Fix an error when a call timeout is provided by the client (AB|JS and AB|Python works with timeout option in seconds).
The error is raised in tuplespace_queue module in function future_time produced by the module bondy_rpc_promise in function enqueue that assumes the received timeout is in milliseconds to transform it in seconds.
The change is in bondy_utils:timeout to detect this situation and always returns timeout expressed in ms.
Maybe to check the behavior in tuplespace_queue module regarding to the infinity usages
Fix an error when a call timeout is provided by the client (AB|JS and AB|Python works with timeout option in seconds). The error is raised in tuplespace_queue module in function
future_time
produced by the module bondy_rpc_promise in functionenqueue
that assumes the received timeout is in milliseconds to transform it in seconds. The change is in bondy_utils:timeout to detect this situation and always returns timeout expressed in ms.Maybe to check the behavior in tuplespace_queue module regarding to the infinity usages