Skip to content

Commit

Permalink
Remove promoter.interval
Browse files Browse the repository at this point in the history
  • Loading branch information
jasikpark committed Jul 31, 2023
1 parent 01698bd commit 9dc81b4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@ func Main(c *config.C, configTest bool, buildVersion string, logger *logrus.Logg
WithField("preferredRanges", hostMap.preferredRanges).
Info("Main HostMap created")

/*
config.SetDefault("promoter.interval", 10)
go hostMap.Promoter(config.GetInt("promoter.interval"))
*/

punchy := NewPunchyFromConfig(l, c)
lightHouse, err := NewLightHouseFromConfig(ctx, l, c, tunCidr, udpConns[0], punchy)
switch {
Expand Down

0 comments on commit 9dc81b4

Please sign in to comment.