{"action":"created","issue":{"url":"https://api.github.com/repos/mjphaynes/php-resque/issues/19","labels_url":"https://api.github.com/repos/mjphaynes/php-resque/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/mjphaynes/php-resque/issues/19/comments","events_url":"https://api.github.com/repos/mjphaynes/php-resque/issues/19/events","html_url":"https://github.com/mjphaynes/php-resque/issues/19","id":109096749,"number":19,"title":"Long running worker does not execute delayed job.","user":{"login":"warmwaterkruik","id":5694009,"avatar_url":"https://avatars.githubusercontent.com/u/5694009?v=3","gravatar_id":"","url":"https://api.github.com/users/warmwaterkruik","html_url":"https://github.com/warmwaterkruik","followers_url":"https://api.github.com/users/warmwaterkruik/followers","following_url":"https://api.github.com/users/warmwaterkruik/following{/other_user}","gists_url":"https://api.github.com/users/warmwaterkruik/gists{/gist_id}","starred_url":"https://api.github.com/users/warmwaterkruik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmwaterkruik/subscriptions","organizations_url":"https://api.github.com/users/warmwaterkruik/orgs","repos_url":"https://api.github.com/users/warmwaterkruik/repos","events_url":"https://api.github.com/users/warmwaterkruik/events{/privacy}","received_events_url":"https://api.github.com/users/warmwaterkruik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-30T14:00:18Z","updated_at":"2015-10-07T15:38:13Z","closed_at":"2015-10-07T15:38:13Z","body":"This is a nice library for delayed jobs, but it seems that a long running worker does not process a delayed job properly. When testing the worker and delayed job today it does execute them. But the next day it does not find/execute the other delayed jobs. \r\nDoing resque worker:list shows the worker status running with interval 10 and timeout 60. The log does update with this constantly: Pop blocking with timeout of 10 seconds [] []\r\nI can see the jobs queued in Redis via Redis CLI.\r\n\r\nI have Resque running under Ubuntu 14.04 and Supervisord is configured to start the worker like so:\r\n\r\n[program:resque]\r\ncommand=resque worker:start -c /resque-config.yml\r\n"},"comment":{"url":"https://api.github.com/repos/mjphaynes/php-resque/issues/comments/146236573","html_url":"https://github.com/mjphaynes/php-resque/issues/19#issuecomment-146236573","issue_url":"https://api.github.com/repos/mjphaynes/php-resque/issues/19","id":146236573,"user":{"login":"warmwaterkruik","id":5694009,"avatar_url":"https://avatars.githubusercontent.com/u/5694009?v=3","gravatar_id":"","url":"https://api.github.com/users/warmwaterkruik","html_url":"https://github.com/warmwaterkruik","followers_url":"https://api.github.com/users/warmwaterkruik/followers","following_url":"https://api.github.com/users/warmwaterkruik/following{/other_user}","gists_url":"https://api.github.com/users/warmwaterkruik/gists{/gist_id}","starred_url":"https://api.github.com/users/warmwaterkruik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warmwaterkruik/subscriptions","organizations_url":"https://api.github.com/users/warmwaterkruik/orgs","repos_url":"https://api.github.com/users/warmwaterkruik/repos","events_url":"https://api.github.com/users/warmwaterkruik/events{/privacy}","received_events_url":"https://api.github.com/users/warmwaterkruik/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T15:38:12Z","updated_at":"2015-10-07T15:38:12Z","body":"Good thing all the failed jobs are logged because I traced it back to a dead MySQL connection. I do a check now for the MySQL connection in the setUp function of the job class. "}}