defunkt/resque — pull request #534 by caius (2012-03-05 17:45:00+00:00)
Title: Auto polling server

My colleagues and I prefer that resque-web automatically starts polling, rather than us having to remember to click the "poll" button. I had a quick look through the project and couldn't find anything stating as to why this wasn't polling automatically on page-load, so I've added it as an optional feature you can enable server-side, rather than changing the default behaviour.

All you need to do is `ENV["ALWAYS_POLL"] = "true"` in your config.ru, or set `ALWAYS_POLL=true` in your ENV before starting the binary and it will start polling on page-loads for those pages that have the ability to auto-refresh themselves in that way.