Resolve "Duniter is using 100% of one CPU core"
Compare changes
+ 36
− 14
@@ -3,16 +3,16 @@ use crate::endpoint_gossip::{
@@ -34,10 +34,7 @@ pub fn build<
@@ -46,6 +43,21 @@ pub fn build<
@@ -98,7 +110,7 @@ pub struct GossipsHandler<
@@ -123,23 +135,21 @@ where
@@ -147,7 +157,12 @@ where
@@ -160,12 +175,14 @@ where
@@ -189,23 +206,28 @@ where