
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Minimialist background jobs backed by ActiveJob and ActiveRecord.
Define your active jobs, as usual:
class SimpleJob < ActiveJob::Base
queue_as :default
def perform(*args)
# Perform Job
end
end
Allow jobs to expire job by specifying an optional TTL:
class ExpringJob < ActiveJob::Base
queue_as :default
retry_on SomeError, attempts: 1_000_000
def perform(*args)
# Perform Job
end
# This will cause the job to retry up-to 1M times
# until the 72h TTL is reached.
def ttl
72.hours
end
end
Allow to subscribe on worker perform method and detect errors
ActiveSupport::Notifications.subscribe('worker_perform.fleiss') do |event|
break unless event.payload.key?(:exception_object)
Raven.capture_exception(event.payload[:exception_object])
end
Include the data migration:
# db/migrate/20182412102030_create_fleiss_jobs.rb
require 'fleiss/backend/active_record/migration'
class CreateFleissJobs < ActiveRecord::Migration[5.2]
def up
Fleiss::Backend::ActiveRecord::Migration.migrate(:up)
end
def down
Fleiss::Backend::ActiveRecord::Migration.migrate(:down)
end
end
Run the worker:
bundle exec fleiss -I . -r config/environment
FAQs
Unknown package
We found that fleiss 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.