Some of the /verify requests in the monitor running on GCP are failing with ECONNRESET error. We already tried debugging the problem but with no luck. Until we find a better solution we need to implement a retry mechanism in Monitor.
This PR implements a retry mechanism in Monitor configurable with:
sourcifyRequestOptions: {
// Maximum number of retry attempts for contract verification requests after encountering an error
maxRetries: 3,
// Delay in milliseconds between each retry attempt for verification requests to Sourcify
retryDelay: 30000,
},
Some of the /verify requests in the monitor running on GCP are failing with ECONNRESET error. We already tried debugging the problem but with no luck. Until we find a better solution we need to implement a retry mechanism in Monitor.
This PR implements a retry mechanism in Monitor configurable with: