Improve node idle detection, including adding NODE_KEEP
This commit is contained in:
@@ -52,9 +52,10 @@ class Address extends Model
|
||||
public const NODE_HC = 1<<3; // Hub
|
||||
public const NODE_NN = 1<<4; // Node
|
||||
public const NODE_PVT = 1<<5; // Pvt (we dont have address information) @todo
|
||||
public const NODE_HOLD = 1<<6; // Hold (user has requested hold, we havent heard from the node for 7 days @todo
|
||||
public const NODE_DOWN = 1<<7; // Down we havent heard from the node for 30 days @todo
|
||||
public const NODE_HOLD = 1<<6; // Hold (user has requested hold, we havent heard from the node for 7 days
|
||||
public const NODE_DOWN = 1<<7; // Down we havent heard from the node for 30 days
|
||||
public const NODE_POINT = 1<<8; // Point
|
||||
public const NODE_KEEP = 1<<9; // Dont mark an address hold/down or de-list automatically
|
||||
public const NODE_UNKNOWN = 1<<15; // Unknown
|
||||
public const NODE_ALL = 0x811f; // Mask to catch all nodes, excluding their status
|
||||
|
||||
|
Reference in New Issue
Block a user