mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-07-10 21:17:01 +08:00
## Description The RemoveOrphanConversationsService filters orphan conversations by a time window before deleting them. Previously it used created_at, which could miss old conversations that still had recent activity. Switching to last_activity_at ensures the cleanup window reflects actual conversation activity rather than creation time. ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) ## How Has This Been Tested? - By running Rake task - Run the job from console ## Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules |
||
|---|---|---|
| .. | ||
| dev | ||
| ops | ||
| .keep | ||
| apply_sla.rake | ||
| asset_clean.rake | ||
| assignment_v2_migration.rake | ||
| auto_annotate_models.rake | ||
| build.rake | ||
| bulk_conversations.rake | ||
| captain_chat.rake | ||
| db_enhancements.rake | ||
| download_report.rake | ||
| generate_test_data.rake | ||
| instance_id.rake | ||
| ip_lookup.rake | ||
| mfa.rake | ||
| reporting_events_rollup_timezone_setup.rake | ||
| reporting_events_rollup.rake | ||
| search_test_data.rake | ||
| seed_reports_data.rake | ||
| sidekiq_tasks.rake | ||
| swagger.rake | ||