Closed RicardoSilvestr closed 1 year ago
"...if you're not using await and are instead handling the Promise by appending .then() to it then you'd append a .catch() to that chain to catch failures from within the asynchronous operation. Because a try/catch isn't going to catch an exception that happens from within the asynchronous operation if that operation isn't awaited." explanation
There seems to be an issue with the improveCompoundPool.js function where the try-catch block does not work when the timeout is exceeded. After the restart, the importation works fine. Probably at some point the promise of the compound n+1 (where n is the abort compound) is solved before the promise of compound n, this leads to skip the compound n when cron restarts. We need to investigate and implement a fix.