Browse Source

:gear: Enlarge AdvertizingNode time window

mudler 3 years ago
parent
commit
6ed92ef81a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/client/service/service.go

+ 1 - 1
api/client/service/service.go

@@ -74,7 +74,7 @@ func (c Client) AdvertizingNodes() (active []string, err error) {
 		}
 		res.Unmarshal(&d)
 
-		if d.Time.Add(2 * time.Minute).After(time.Now().UTC()) {
+		if d.Time.Add(15 * time.Minute).After(time.Now().UTC()) {
 			active = append(active, u)
 		}
 	}