Skip to content

Spam Filtering

K Sashi Kumar edited this page Jul 23, 2017 · 1 revision

Implementation of Spam Filtering

Each of the discussion, answer & reply contents go through Akismet's Spam Filtering service. Since it is an HTTP call to the service, the computation is pushed to the background. The sidekiq worker that does this is in: app/jobs/spam_filter/spam_check_job.rb.

The Akismet client stub code implementation is in: lib/spam_filter/akismet_client.rb

The Akisment API key is stored in AKISMET_API_KEY environment variable.

Clone this wiki locally