This issue involves enhancing the EmailReminderService to ensure that email reminders are scheduled and processed correctly, with proper handling of retries and failures.
Goals
Implement a robust EmailReminderService that schedules and processes email reminders.
Ensure that reminders are retried with exponential backoff in case of failures.
Handle maximum retries by logging and saving failed reminders.
Improve the overall reliability and maintainability of the reminder service.
Approach
Added a constructor to the EmailReminders entity to initialize properties correctly.
Implemented the processReminders method to handle pending reminders, including retries and exponential backoff.
Added logging to track the scheduling and processing of reminders.
Ensured proper transaction management in the scheduleReminders method.
Screenshots
Checklist
[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
Purpose
The purpose of this PR is to fix #176
This issue involves enhancing the
EmailReminderService
to ensure that email reminders are scheduled and processed correctly, with proper handling of retries and failures.Goals
Approach
EmailReminders
entity to initialize properties correctly.processReminders
method to handle pending reminders, including retries and exponential backoff.scheduleReminders
method.Screenshots
Checklist
Related PRs
## Test environment ## Learning