This is a Rails application.
This is an example of implementation of an ActiveJob used with sidekiq that should be killed during execution.
Job implementation available on OperationRunJob code.
- Ruby installed
- Rails gem installed
-
Clone the repo with git clone
-
Go to the project folder with cd rails_sidekiq_kill_worker_example
-
Install dependencies with bundle install
-
Create the database with rails db:create
-
Run the migrations with rails db:migrate
-
Run seed data with rails db:seed
- Start the app with foreman start