11 Commits

Author SHA1 Message Date
maniolias
e9834daa31 feat(tcp): add timeout when trying to connect to a TCP endpoint
* the timeout parameters in options will trigger a timeout only when the socket is connected (cf. https://nodejs.org/api/net.html#net_socket_settimeout_timeout_callback). To handle connection timeout we have to handle it manually
2020-09-17 09:52:11 +02:00
maniolias
f79a0444f6 feat(cluster): rewrite cluster discovering
* Discovering process adapted from EventStore scala client
* Use DNS for first discover but also for reconnoctions (the aim is to be able to reconnect even if all nodes have new IP addresses eg. after rolling update in a cloud environment)
* Being able to perform proper unit testing
2020-09-17 09:52:11 +02:00
Nicolas Dextraze
7db060af6e Removed some console
Fixed issue 60
2019-02-18 09:12:28 -08:00
215708014c Add Object.freeze on private enums
Improve code readability
2018-07-09 10:27:12 -07:00
bc2fbe14e3 Adding SSL support, release 0.2.3 2018-03-11 15:25:44 -07:00
Nicolas Dextraze
217c1c6bb8 Fix a bug in tcpConnection that was blocking sending of packet > 64k. Fixes #27 2017-03-24 19:04:01 -07:00
Nicolas Dextraze
006b5b4791 18 - Changing all hostname to host, fixing some async issues in tests 2017-01-28 18:04:58 -08:00
8d7996e547 Fix always connecting to localhost issue 2017-01-03 10:44:39 -08:00
Nicolas Dextraze
f951a625f4 Performance improvement by using strict equality, fixed heartbeat issue in connection stage 2016-10-17 21:58:28 -07:00
Nicolas Dextraze
0b63df85e7 Add failure scenarios tests for connection, appendToStream, deleteStream (wip) 2016-03-11 15:55:27 -08:00
Nicolas Dextraze
9be67bf7c7 Initial commit 2016-03-09 12:46:15 -08:00