running fork in delayed job
问题 we use delayed job in our web application and we need multiple delayed jobs workers happening parallelly, but we don't know how many will be needed. solution i currently try is running one worker and calling fork/Process.detach inside the needed task. i was trying to run fork directly in rails application previously but it didnt work too good with passenger. this solution seems to work well. could there be any caveats in production? 回答1: one issue which happened to me today and which anyone