Skip to content

Commit b93e252

Browse files
majectysgkim126
authored andcommitted
Increase timeout of peer count
1 parent 1360d6e commit b93e252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/agent/agent.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ impl Agent {
322322
} else {
323323
count_of_no_enough_connections = 0;
324324
}
325-
if count_of_no_enough_connections == 6 {
325+
if count_of_no_enough_connections == 12 {
326326
self.noti.warn(
327327
&network_id,
328-
&format!("{} failed to establish enough connections in a minute.", node_name),
328+
&format!("{} failed to establish enough connections in two minutes.", node_name),
329329
);
330330
}
331331

0 commit comments

Comments
 (0)