Closed leszko closed 2 months ago
Shouldn't we have a timeout on all the queries to mist?
Shouldn't we have a timeout on all the queries to mist?
I think we should, though the usual (POST) request to Mist didn't cause any issues. Wrt metrics, for some reason, if Mist is down, then catalyst-api becomes blocked and stops returning metrics.
During the catalyst deployment, we sometimes lost the catalyst-api metrics, because we had no timeout and the
/metrics
endpoint was waiting forever when the Mist was down.This PR adds a simple timeout