perform resque only in production mode