1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00
Commit graph

11 commits

Author SHA1 Message Date
Vishal Banthia
6c741cbf4b Set TCP_KEEPALIVE socket option to fix tcp_connection problem in
some network. Issue-100
2015-10-09 16:32:02 +09:00
Simo Kinnunen
85067b6f0b Allow reaper to die if initial state can't be loaded. 2015-08-04 19:08:16 +09:00
Simo Kinnunen
c9c892c69d When receiving an introduction message, silently drop any previous value in the reaper. Fixes a bug where restarting a provider would not bring the devices online due to it starting within the heartbeat ttl, leading the reaper to believe it has been connected all along. 2015-06-05 10:58:03 +09:00
Simo Kinnunen
736b6f769e Reaper decides if a device is present or not. Allows devices to "come back to life" if they start beating again. 2015-06-03 18:49:42 +09:00
Simo Kinnunen
6443215a7c Reaper should load initial state before listening to changes. There is a small window where if a device is removed or added during reaper startup it might go unnoticed, but it shouldn't be too much of a problem for us. 2015-06-02 10:44:39 +09:00
Simo Kinnunen
92c18539fc Move ttlset to the common util folder. Could be used by something else too. 2015-06-02 10:39:43 +09:00
Simo Kinnunen
25544d1a1a In-memory reaper. TtlSet needs tests. 2015-06-01 17:41:23 +09:00
Simo Kinnunen
eb841161ac Error if unable to resolve endpoints. 2014-12-18 16:29:15 +09:00
Simo Kinnunen
e43ae34d4b Make all zmq endpoints use srv records. 2014-12-17 21:01:20 +09:00
Simo Kinnunen
4ca5230402 Unify socket closers. Don't put them all in one try-catch or some might remain. 2014-11-17 15:51:57 +09:00
Simo Kinnunen
3a9b193f68 Rename "roles" to "units". Put units in their own folders. 2014-08-26 14:34:34 +09:00
Renamed from lib/roles/reaper.js (Browse further)