Reap dead devices using timeouts. Previously, if a provider died without being able to clean up properly, the device would stay as a ghost.

This commit is contained in:
Simo Kinnunen
2014-02-25 20:45:29 +09:00
parent f24e777961
commit 4896ca406e
10 changed files with 189 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ var wire = require('./')
var wireutil = {
global: '*ALL'
, log: '*LOG'
, heartbeat: '*HB'
, makePrivateChannel: function() {
return uuid.v4(null, new Buffer(16)).toString('base64')
}