1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Add note about Sidekiq's polling interval to README.

This commit is contained in:
Tobias Svensson 2013-02-04 11:54:17 +00:00
parent 8ed766c81f
commit 247e7806cb

View file

@ -119,6 +119,16 @@ loaded by default, so it will have to be required manually:
require 'sidetiq/web'
```
### NOTES
By default Sidekiq uses a 15 second polling interval to check if scheduled
jobs are due. If a recurring job has to run more often than that you should
lower this value.
```ruby
Sidekiq.options[:poll_interval] = 1
```
### SCREENSHOT
![Screenshot](http://f.cl.ly/items/1P2u1v091F3V1n381g2I/Screen%20Shot%202013-02-01%20at%2012.16.17.png)