Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 807 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 807 Bytes

symfony2-sidekiq-example-app

What is it ?

Generate Sidekiq workers from symfony2 services, queue jobs and let Sidekiq process them by calling worker:exec command.

Setup

composer install
gem install bundler
bundle install

Redis Configuration

app/config/services.yml

Pushing to a queue

https://github.com/spinx/symfony2-sidekiq-example-app/blob/master/src/DLabs/UserBundle/Command/UserEnqueueCommand.php

Queue handler

https://github.com/spinx/symfony2-sidekiq-example-app/blob/master/src/DLabs/UserBundle/Resources/config/queue_handler.yml

Running Sidekiq

Run Sidekiq

bin/sidekiq

Run Sidekiq web interface

bin/sidekiq-web

License

MIT. Use as you wish. Let me know if you find it useful!