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
I think the issue is due to the use Enum.reduce/2 instead of Enum.reduce/3 as with the first one not accumulator is given.
Then if there are not nodes yet available or authorized during the startup when the polling is initiated, Enum.reduce/2 crashes if the list is empty. Hence the accumulator will help.
But another improvement will be to start the poller only when the local is completely initialized.
What happened?
Maybe the metrics polling process started before the transaction_validation and it got empty so, it is unable to poll metrics
What is expected ?
It expected to start normally and give the
archethic_mining_full_transaction_validation_duration => val
, similarly others metrics etcThe text was updated successfully, but these errors were encountered: