Skip to content

Commit

Permalink
reset geoip state
Browse files Browse the repository at this point in the history
  • Loading branch information
uubulb committed Jan 30, 2025
1 parent f8700fc commit 549bd2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ func handleApplyConfigTask(task *pb.Task, result *pb.TaskResult) {
println("Applying new configuration...")
agentConfig.Apply(&tmpConfig)
agentConfig.Save()
geoipReported = false
logger.SetEnable(agentConfig.Debug)
monitor.InitConfig(&agentConfig)
monitor.CustomEndpoints = agentConfig.CustomIPApi
Expand Down

0 comments on commit 549bd2f

Please sign in to comment.