You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you search for an existing issue or pull request?
Description
The indexer's healthcheck relies on the last time a block was mined.
Though there are various EVMs out there that mine blocks on demand, eg. rollup based chains or local development environments. Thus the current healthcheck doesn't work for all scenarios anymore.
Hi @hellowodl, thanks for your issue, this issue has been in the back of our mind but not big enough to consider addressing.
The health check is just a best guess that a growing chain is a healthy chain (and therefore a healthy RPC and indexer).
I think we can drop the requirement that the latest height by the RPC needs to grow.
So an unhealthy node is where the current indexing height is < the RPC reported chain height and not increasing within the interval. Otherwise its false.
If you have time to make this change it would be appreciated otherwise we will add it to our backlog.
Activity
stwiname commentedon Nov 14, 2024
Hi @hellowodl, thanks for your issue, this issue has been in the back of our mind but not big enough to consider addressing.
The health check is just a best guess that a growing chain is a healthy chain (and therefore a healthy RPC and indexer).
I think we can drop the requirement that the latest height by the RPC needs to grow.
So an unhealthy node is where the current indexing height is < the RPC reported chain height and not increasing within the interval. Otherwise its false.
If you have time to make this change it would be appreciated otherwise we will add it to our backlog.