README.md in backburner-0.2.6 vs README.md in backburner-0.3.0
- old
+ new
@@ -260,10 +260,11 @@
By default, Backburner comes with the following workers built-in:
| Worker | Description |
| ------- | ------------------------------- |
| `Backburner::Workers::Simple` | Single threaded, no forking worker. Simplest option. |
+| `Backburner::Workers::ThreadsOnFork` | Forking worker that utilizes threads for concurrent processing. |
You can select the default worker for processing with:
```ruby
Backburner.configure do |config|
@@ -272,17 +273,24 @@
```
or determine the worker on the fly when invoking `work`:
```ruby
-Backburner.work('newsletter_sender', :worker => Backburner::Workers::Threaded)
+Backburner.work('newsletter_sender', :worker => Backburner::Workers::ThreadsOnFork)
```
-or when more official workers are supported, through alternate rake tasks.
-Additional workers such as `threaded`, `forking` and `threads_on_fork` will hopefully be
-developed in the future. If you are interested in helping, please let us know.
+or through associated rake tasks with:
+```
+$ QUEUES=newsletter-sender,push-message THREADS=2 GARBAGE=1000 rake backburner:threads_on_fork:work
+```
+
+For more information on the threads_on_fork worker, check out the
+[ThreadsOnFork Worker](https://github.com/nesquena/backburner/wiki/ThreadsOnFork-worker) documentation.
+Additional workers such as individual `threaded` and `forking` strategies will hopefully be contributed in the future.
+If you are interested in helping out, please let us know.
+
### Default Queues
Workers can be easily restricted to processing only a specific set of queues as shown above. However, if you want a worker to
process **all** queues instead, then you can leave the queue list blank.
@@ -389,9 +397,10 @@
* [Nathan Esquenazi](https://github.com/nesquena) - Project maintainer
* Kristen Tucker - Coming up with the gem name
* [Tim Lee](https://github.com/timothy1ee), [Josh Hull](https://github.com/joshbuddy), [Nico Taing](https://github.com/Nico-Taing) - Helping me work through the idea
* [Miso](http://gomiso.com) - Open-source friendly place to work
+ * [Renan T. Fernandes](https://github.com/ShadowBelmolve) - Added threads_on_fork worker
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
\ No newline at end of file