Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

@nattsw
Copy link
Contributor

@nattsw nattsw commented Jan 14, 2025

Two rake tasks have been created to allow sending topics directly to the AiModeration::SpamScanner. This is to add older topics/posts to the queue. In the event there are only new topics created by spammers, the first task (topics) should be enough.

ai:spam:scan_topics[2024-01-01,2024-02-31]
ai:spam:scan_posts[2024-01-01,2024-02-31]

This PR also allows bypassing the should_scan_post? check that the spam_scanner uses for regular scanning, with a perform_scan!.

@nattsw nattsw merged commit c881f8b into main Jan 15, 2025
6 checks passed
@nattsw nattsw deleted the force-scanning branch January 15, 2025 03:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants