cd545e08d5
* Implementing retries on failed user updates when finishing a quest. fixes #8035 * Refactoring mongo db retries to use the same as code path as original call and moving retries to count based over time based. * Adding tests for retry logic and updating retries to happen recursively * Moving callbacks to promises and other tweaks according to pr. * Chaging mongoose promise to use .catch() functionality * If all retries fail, the system will now throw an error instead of returning an error message.