mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-27 22:08:01 +00:00
feat: Mark nodes as stale after a minute (#181)
This commit is contained in:
@@ -22,7 +22,7 @@ const BLOCK_TIME_HISTORY = 10;
|
||||
const MEMORY_RECORDS = 20;
|
||||
const CPU_RECORDS = 20;
|
||||
const TIMEOUT = (1000 * 60 * 1) as Types.Milliseconds; // 1 minute
|
||||
const NO_BLOCK_TIMEOUT = (1000 * 60 * 15) as Types.Milliseconds; // 15 minutes
|
||||
const NO_BLOCK_TIMEOUT = (1000 * 60 * 1) as Types.Milliseconds; // 1 minute
|
||||
|
||||
const nextId = idGenerator<Types.NodeId>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user