defunkt/resque — pull request #526 by ono (2012-03-02 00:33:40+00:00)
Title: Output PID before initializing app

Large size application takes time to be loaded. Since Resque output PID after app is initialized, this can be a problem with process monitor such as God, Monit, etc.

This commit lets 'resque:work' task to output PID file before loading application.