
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Background search indexing using existing worker systems.
$ gem install sunspot-queue
In your Gemfile
gem "sunspot-queue"
gem "resque"
In config/initializers/sunspot.rb
require "sunspot/queue/resque"
backend = Sunspot::Queue::Resque::Backend.new
Sunspot.session = Sunspot::Queue::SessionProxy.new(Sunspot.session, backend)
Start Resque
$ QUEUE=sunspot rake resque:work
In your Gemfile
gem "sunspot-queue"
gem "sidekiq"
In config/initializers/sunspot.rb
require "sunspot/queue/sidekiq"
backend = Sunspot::Queue::Sidekiq::Backend.new
Sunspot.session = Sunspot::Queue::SessionProxy.new(Sunspot.session, backend)
Start Sidekiq
$ sidekiq -q sunspot
In your Gemfile
gem "sunspot-queue"
gem "delayed_job"
gem "delayed_job_active_record" # or choose another backend
In config/initializers/sunspot.rb
require "sunspot/queue/delayed_job"
backend = Sunspot::Queue::DelayedJob::Backend.new
Sunspot.session = Sunspot::Queue::SessionProxy.new(Sunspot.session, backend)
Start Delayed::Job
$ rake jobs:work
In config/initializers/sunspot.rb
Sunspot::Queue.configure do |config|
# Override default job classes
config.index_job = CustomIndexJob
config.removal_job = CustomRemovalJob
end
The sunspot-queue jobs update the Solr index but those changes don't appear in search results until Solr commits those changes. Solr supports automatically commiting changes based on either the number of changes and / or time between commits.
Add (or uncomment) the following in solrconfig.xml
<autoCommit>
<maxDocs>10000</maxDocs>
<maxTime>30000</maxTime>
</autoCommit>
See Solr's documentation for more information.
Please don't make changes to the Rakefile, version, or history.
$ gem install bundler
$ bundle
$ guard
See LICENSE for details.
FAQs
Unknown package
We found that sunspot-queue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.