Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.