Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acoffman/activejob-null
ActiveJob Queue Adapter That Discards All Jobs
https://github.com/acoffman/activejob-null
Last synced: 4 days ago
JSON representation
ActiveJob Queue Adapter That Discards All Jobs
- Host: GitHub
- URL: https://github.com/acoffman/activejob-null
- Owner: acoffman
- License: mit
- Created: 2023-09-13T16:47:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-15T01:44:23.000Z (about 1 year ago)
- Last Synced: 2024-04-24T23:42:20.363Z (7 months ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/activejob-null
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# activejob-null
ActiveJob Queue Adapter That Discards All Jobs (`/dev/null` for background jobs)### Installation and Setup
Add this gem to your Gemfile
```ruby
gem 'activejob-null'
```Configure your Rails application to use it in `config/application.rb` or `config/environments/*`
```ruby
config.active_job.queue_adapter = :null
```All jobs will now be discarded instead of run.