{"action":"created","issue":{"url":"https://api.github.com/repos/ckan/ckan/issues/3243","repository_url":"https://api.github.com/repos/ckan/ckan","labels_url":"https://api.github.com/repos/ckan/ckan/issues/3243/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckan/issues/3243/comments","events_url":"https://api.github.com/repos/ckan/ckan/issues/3243/events","html_url":"https://github.com/ckan/ckan/issues/3243","id":177798621,"number":3243,"title":"Multiple background jobs that access the database fail","user":{"login":"torfsen","id":2877717,"avatar_url":"https://avatars.githubusercontent.com/u/2877717?v=3","gravatar_id":"","url":"https://api.github.com/users/torfsen","html_url":"https://github.com/torfsen","followers_url":"https://api.github.com/users/torfsen/followers","following_url":"https://api.github.com/users/torfsen/following{/other_user}","gists_url":"https://api.github.com/users/torfsen/gists{/gist_id}","starred_url":"https://api.github.com/users/torfsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torfsen/subscriptions","organizations_url":"https://api.github.com/users/torfsen/orgs","repos_url":"https://api.github.com/users/torfsen/repos","events_url":"https://api.github.com/users/torfsen/events{/privacy}","received_events_url":"https://api.github.com/users/torfsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-19T14:23:03Z","updated_at":"2016-09-19T15:08:18Z","closed_at":null,"body":"(This problem was originally reported by @wardi in #3165)\r\n\r\nAccessing the database from a background job succeeds once, but subsequent runs of the same job fail:\r\n```\r\nDatabaseError: (DatabaseError) SSL error: decryption failed or bad record mac\r\n ```"},"comment":{"url":"https://api.github.com/repos/ckan/ckan/issues/comments/248020703","html_url":"https://github.com/ckan/ckan/issues/3243#issuecomment-248020703","issue_url":"https://api.github.com/repos/ckan/ckan/issues/3243","id":248020703,"user":{"login":"TkTech","id":72590,"avatar_url":"https://avatars.githubusercontent.com/u/72590?v=3","gravatar_id":"","url":"https://api.github.com/users/TkTech","html_url":"https://github.com/TkTech","followers_url":"https://api.github.com/users/TkTech/followers","following_url":"https://api.github.com/users/TkTech/following{/other_user}","gists_url":"https://api.github.com/users/TkTech/gists{/gist_id}","starred_url":"https://api.github.com/users/TkTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TkTech/subscriptions","organizations_url":"https://api.github.com/users/TkTech/orgs","repos_url":"https://api.github.com/users/TkTech/repos","events_url":"https://api.github.com/users/TkTech/events{/privacy}","received_events_url":"https://api.github.com/users/TkTech/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T15:08:18Z","updated_at":"2016-09-19T15:08:18Z","body":"An `engine.dispose()` at the start of the task should be the \"quick\" fix. Ideally each worker gets its own engine and thus its own pool."}}
{"actor":{"display_login":"TkTech"}}