Skip to content

Commit

Permalink
large scrapeInterval to make sure scan server might not overload
Browse files Browse the repository at this point in the history
  • Loading branch information
sunway910 committed Aug 29, 2024
1 parent 593c9f6 commit 6d5359e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ watchdog:
apiUrl: ""
# watchdog server listen http port at: 13081
port: 13081
# the interval of query data from chain for each miner, 30 <= scrapeInterval <= 300
scrapeInterval: 60
# the interval of query data from chain for each miner, 1800 <= scrapeInterval <= 3600
scrapeInterval: 1800
# watchdog can scrape miners data from this hosts
hosts:
- ip: 127.0.0.1 # 127.x, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 is a private IP
Expand Down

0 comments on commit 6d5359e

Please sign in to comment.