{"action":"closed","issue":{"url":"https://api.github.com/repos/archivesunleashed/auk/issues/82","repository_url":"https://api.github.com/repos/archivesunleashed/auk","labels_url":"https://api.github.com/repos/archivesunleashed/auk/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/archivesunleashed/auk/issues/82/comments","events_url":"https://api.github.com/repos/archivesunleashed/auk/issues/82/events","html_url":"https://github.com/archivesunleashed/auk/issues/82","id":308589837,"number":82,"title":"Spark jobs will run simultaneously with download jobs ","user":{"login":"ruebot","id":218561,"avatar_url":"https://avatars2.githubusercontent.com/u/218561?v=4","gravatar_id":"","url":"https://api.github.com/users/ruebot","html_url":"https://github.com/ruebot","followers_url":"https://api.github.com/users/ruebot/followers","following_url":"https://api.github.com/users/ruebot/following{/other_user}","gists_url":"https://api.github.com/users/ruebot/gists{/gist_id}","starred_url":"https://api.github.com/users/ruebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruebot/subscriptions","organizations_url":"https://api.github.com/users/ruebot/orgs","repos_url":"https://api.github.com/users/ruebot/repos","events_url":"https://api.github.com/users/ruebot/events{/privacy}","received_events_url":"https://api.github.com/users/ruebot/received_events","type":"User","site_admin":false},"labels":[{"id":729894031,"url":"https://api.github.com/repos/archivesunleashed/auk/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"ruebot","id":218561,"avatar_url":"https://avatars2.githubusercontent.com/u/218561?v=4","gravatar_id":"","url":"https://api.github.com/users/ruebot","html_url":"https://github.com/ruebot","followers_url":"https://api.github.com/users/ruebot/followers","following_url":"https://api.github.com/users/ruebot/following{/other_user}","gists_url":"https://api.github.com/users/ruebot/gists{/gist_id}","starred_url":"https://api.github.com/users/ruebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruebot/subscriptions","organizations_url":"https://api.github.com/users/ruebot/orgs","repos_url":"https://api.github.com/users/ruebot/repos","events_url":"https://api.github.com/users/ruebot/events{/privacy}","received_events_url":"https://api.github.com/users/ruebot/received_events","type":"User","site_admin":false},"assignees":[{"login":"ruebot","id":218561,"avatar_url":"https://avatars2.githubusercontent.com/u/218561?v=4","gravatar_id":"","url":"https://api.github.com/users/ruebot","html_url":"https://github.com/ruebot","followers_url":"https://api.github.com/users/ruebot/followers","following_url":"https://api.github.com/users/ruebot/following{/other_user}","gists_url":"https://api.github.com/users/ruebot/gists{/gist_id}","starred_url":"https://api.github.com/users/ruebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruebot/subscriptions","organizations_url":"https://api.github.com/users/ruebot/orgs","repos_url":"https://api.github.com/users/ruebot/repos","events_url":"https://api.github.com/users/ruebot/events{/privacy}","received_events_url":"https://api.github.com/users/ruebot/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-26T14:12:44Z","updated_at":"2018-03-26T15:17:17Z","closed_at":"2018-03-26T15:17:17Z","author_association":"OWNER","body":"Since the resolution of #63, the following setup in Production, `bin/delayed_job --pool=spark,tasks:1 --pool=seed,tasks:10 --pool=download,tasks:4`, allows for 4 download jobs to run simultaneously with 1 spark job. However, this now allows a download job, and spark job for the same collection to run at the same time. We need to come up a with a solution for tackling this:\r\n  * We can have separate download and analyse buttons.\r\n    * This would require listening to the queue and greying out a specific button until the first job is complete, and requiring the user to log back in and trigger the next part of the job. (Poor solution IMO).\r\n * Figure out how to trigger one job after the completion of another job.\r\n  * This is going to take a bit of research, and is probably the ideal solution."}}
{"actor":{"display_login":"ruebot"}}