mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-12-01 01:50:07 +00:00
feat: Mark nodes as stale after a minute (#181)
This commit is contained in:
1 parent
75a5a8a598
commit
a2ce9a574e
1 file changed
+1
-1
@@ -22,7 +22,7 @@ const BLOCK_TIME_HISTORY = 10;
|
|||||||
const MEMORY_RECORDS = 20;
|
const MEMORY_RECORDS = 20;
|
||||||
const CPU_RECORDS = 20;
|
const CPU_RECORDS = 20;
|
||||||
const TIMEOUT = (1000 * 60 * 1) as Types.Milliseconds; // 1 minute
|
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>();
|
const nextId = idGenerator<Types.NodeId>();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user