This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Commit 7a981ab 1 parent dfd5c3e commit 7a981ab Copy full SHA for 7a981ab
File tree 1 file changed +3
-3
lines changed
client/authority-discovery/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ pub struct WorkerConfig {
89
89
impl Default for WorkerConfig {
90
90
fn default ( ) -> Self {
91
91
Self {
92
- // Kademlia's default time-to-live for Dht records is 36h , republishing records every
93
- // 24h through libp2p-kad. Given that a node could restart at any point in time, one can
92
+ // Kademlia's default time-to-live for Dht records is 48h , republishing records every
93
+ // 22h through libp2p-kad. Given that a node could restart at any point in time, one can
94
94
// not depend on the republishing process, thus publishing own external addresses should
95
95
// happen on an interval < 36h.
96
- max_publish_interval : Duration :: from_secs ( 1 * 60 * 60 ) ,
96
+ max_publish_interval : Duration :: from_secs ( 1 * 60 * 60 ) , // 1h
97
97
keystore_refresh_interval : Duration :: from_secs ( 60 ) ,
98
98
// External addresses of remote authorities can change at any given point in time. The
99
99
// interval on which to trigger new queries for the current and next authorities is a
You can’t perform that action at this time.
0 commit comments