A quite simple question I can’t find a definite answer for.
Does the delayed_job process load the rails environment and keep it open?
I need to keep the state of a variable (for emailing purposes).
Currently I use ar_sendmail but its daemon reloads the environment each time (every 5mins), and I lose the state of a variable.
I have used delayed jobs extensively in rails and in my personal experience, please persist the variable you are talking about in a database and de-couple yourself from maintaing the state of a variable in the rails process.