In Rails application if 2 or more delayed jobs are scheduled at the same run_at time eg: 24/1/2013 12:05:49 (exactly same timestamp).
Then will only one of them will execute or both will execute irrespective of same run_at timestamp.?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would expect that both will run. If you have multiple workers running, they might well run at the same time. Otherwise, the one which is created first will run first, and the other afterward.