Skip to content

Commit

Permalink
be less spammy
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukaMa committed Feb 7, 2024
1 parent 1e5b663 commit 5e8def0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/light_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async def ping_task():
msg = frame.message
self.state.node_peer_count(self.ip, self.port, len(msg.peers))
peer_types = {}
if time.time() - self.last_rest_query > 60:
if time.time() - self.last_rest_query > 300:
self.last_rest_query = time.time()
try:
r = await self.aiohttp_session.get("/testnet3/peers/all/metrics")
Expand Down

0 comments on commit 5e8def0

Please sign in to comment.