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
Currently, when MN returns immature records (with multiple null or empty fields), the getContractResultWithRetry() and getContractResultsLogsWithRetry() function only waits 500ms before resubmitting the request once again. While this retry mechanism successfully retrieves complete records in some cases, it is not consistently effective. Therefore, implementing a polling mechanism is recommended.
Solution
Replace the current retry mechanism with a polling mechanism that continues polling until the records are fully mature. Introduce a maximum retry limit to safeguard the process, and return a 500 error if the records remain immature after exhausting the polling attempts.
The text was updated successfully, but these errors were encountered:
Description
Currently, when MN returns immature records (with multiple null or empty fields), the
getContractResultWithRetry()
andgetContractResultsLogsWithRetry()
function only waits 500ms before resubmitting the request once again. While this retry mechanism successfully retrieves complete records in some cases, it is not consistently effective. Therefore, implementing a polling mechanism is recommended.Solution
Replace the current retry mechanism with a polling mechanism that continues polling until the records are fully mature. Introduce a maximum retry limit to safeguard the process, and return a 500 error if the records remain immature after exhausting the polling attempts.
The text was updated successfully, but these errors were encountered: