{"action":"created","issue":{"url":"https://api.github.com/repos/danmarsden/moodle-plagiarism_urkund/issues/87","repository_url":"https://api.github.com/repos/danmarsden/moodle-plagiarism_urkund","labels_url":"https://api.github.com/repos/danmarsden/moodle-plagiarism_urkund/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/danmarsden/moodle-plagiarism_urkund/issues/87/comments","events_url":"https://api.github.com/repos/danmarsden/moodle-plagiarism_urkund/issues/87/events","html_url":"https://github.com/danmarsden/moodle-plagiarism_urkund/issues/87","id":157901797,"number":87,"title":"Scheduled job gets 'stuck' when Urkund service down","user":{"login":"thepurpleblob","id":664139,"avatar_url":"https://avatars.githubusercontent.com/u/664139?v=3","gravatar_id":"","url":"https://api.github.com/users/thepurpleblob","html_url":"https://github.com/thepurpleblob","followers_url":"https://api.github.com/users/thepurpleblob/followers","following_url":"https://api.github.com/users/thepurpleblob/following{/other_user}","gists_url":"https://api.github.com/users/thepurpleblob/gists{/gist_id}","starred_url":"https://api.github.com/users/thepurpleblob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepurpleblob/subscriptions","organizations_url":"https://api.github.com/users/thepurpleblob/orgs","repos_url":"https://api.github.com/users/thepurpleblob/repos","events_url":"https://api.github.com/users/thepurpleblob/events{/privacy}","received_events_url":"https://api.github.com/users/thepurpleblob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-01T13:07:03Z","updated_at":"2016-06-06T22:11:22Z","closed_at":null,"body":"I know how bad this report is but you may have a bright idea so here goes...\r\n\r\nWe have seen this twice. The Urkund service goes down for a short time (we know because Urkund tells us) and a day or so later the debug screen is full of loads of Pending jobs. When we look at the scheduled tasks we see that the Urkund send process has not run since round about the time the service was unavailable. The receive task seems fine. \r\n\r\nWe kill the cron processes (which appear to have been stuck there) and it all starts to run again. \r\n\r\nWe have no idea what the cron was doing when it was 'stuck'. "},"comment":{"url":"https://api.github.com/repos/danmarsden/moodle-plagiarism_urkund/issues/comments/224104470","html_url":"https://github.com/danmarsden/moodle-plagiarism_urkund/issues/87#issuecomment-224104470","issue_url":"https://api.github.com/repos/danmarsden/moodle-plagiarism_urkund/issues/87","id":224104470,"user":{"login":"danmarsden","id":362798,"avatar_url":"https://avatars.githubusercontent.com/u/362798?v=3","gravatar_id":"","url":"https://api.github.com/users/danmarsden","html_url":"https://github.com/danmarsden","followers_url":"https://api.github.com/users/danmarsden/followers","following_url":"https://api.github.com/users/danmarsden/following{/other_user}","gists_url":"https://api.github.com/users/danmarsden/gists{/gist_id}","starred_url":"https://api.github.com/users/danmarsden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmarsden/subscriptions","organizations_url":"https://api.github.com/users/danmarsden/orgs","repos_url":"https://api.github.com/users/danmarsden/repos","events_url":"https://api.github.com/users/danmarsden/events{/privacy}","received_events_url":"https://api.github.com/users/danmarsden/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T22:11:22Z","updated_at":"2016-06-06T22:11:22Z","body":"ah - I see, those values are actually the \"constants\" for the options - for some reason curl uses integer values to name each variable but has some constants to help: eg \"curl_setopt($fp, CURLOPT_TIMEOUT, \"value\")"}}
{"actor":{"display_login":"danmarsden"}}