Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically schedule jobs when account settings change
When certain account settings (user_analytics, batch_email_notifications, or depositor_email_notifications) are updated, the system will now automatically schedule the corresponding background jobs. This eliminates the need for a server restart to activate these features. - Added after_save callback to detect settings changes - Added logic to compare relevant settings before and after save - Triggers find_or_schedule_jobs when settings change This ensures features like user analytics start working immediately after being enabled through the settings interface.
- Loading branch information