feat: Mark nodes as stale after a minute (#181)

This commit is contained in:
Maciej Hirsz
2019-09-27 16:16:30 +02:00
committed by GitHub
parent 75a5a8a598
commit a2ce9a574e
+1 -1
View File
@@ -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>();