Skip to content

Commit 9934007

Browse files
committed
update INTERVAL example because only integer values are really supported
1 parent ec01a20 commit 9934007

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,10 @@ worker is started.
340340
### Polling frequency
341341

342342
You can pass an INTERVAL option which is a float representing the polling frequency.
343-
The default is 5 seconds, but for a semi-active app you may want to use a smaller value.
343+
The default is 5 seconds, but for a semi-active app you may want to use a smaller
344+
(integer) value.
344345

345-
$ INTERVAL=0.1 QUEUE=file_serve rake environment resque:work
346+
$ INTERVAL=1 QUEUE=file_serve rake environment resque:work
346347

347348
<a name='section_Workers_Priorities_and_Queue_Lists'></a>
348349
### Priorities and Queue Lists

0 commit comments

Comments
 (0)