{"action":"created","issue":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/225","repository_url":"https://api.github.com/repos/go-gitea/gitea","labels_url":"https://api.github.com/repos/go-gitea/gitea/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/225/comments","events_url":"https://api.github.com/repos/go-gitea/gitea/issues/225/events","html_url":"https://github.com/go-gitea/gitea/pull/225","id":191376415,"number":225,"title":"Fix database write context interleaving bug","user":{"login":"stroucki","id":1933610,"avatar_url":"https://avatars.githubusercontent.com/u/1933610?v=3","gravatar_id":"","url":"https://api.github.com/users/stroucki","html_url":"https://github.com/stroucki","followers_url":"https://api.github.com/users/stroucki/followers","following_url":"https://api.github.com/users/stroucki/following{/other_user}","gists_url":"https://api.github.com/users/stroucki/gists{/gist_id}","starred_url":"https://api.github.com/users/stroucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stroucki/subscriptions","organizations_url":"https://api.github.com/users/stroucki/orgs","repos_url":"https://api.github.com/users/stroucki/repos","events_url":"https://api.github.com/users/stroucki/events{/privacy}","received_events_url":"https://api.github.com/users/stroucki/received_events","type":"User","site_admin":false},"labels":[{"id":475283668,"url":"https://api.github.com/repos/go-gitea/gitea/labels/lgtm/done","name":"lgtm/done","color":"0e8a16","default":false},{"id":475283844,"url":"https://api.github.com/repos/go-gitea/gitea/labels/lgtm/need%201","name":"lgtm/need 1","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-23T20:46:56Z","updated_at":"2016-11-23T22:31:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/go-gitea/gitea/pulls/225","html_url":"https://github.com/go-gitea/gitea/pull/225","diff_url":"https://github.com/go-gitea/gitea/pull/225.diff","patch_url":"https://github.com/go-gitea/gitea/pull/225.patch"},"body":"(Copied from gogits/gogs)\r\nUpdateIssueUsersByMentions was calling database write operations while\r\na transaction session was in progress. MailParticipants was failing\r\nsilently because of the SQLITE_LOCKED error. Make sure failures in\r\nMailParticipants enter the log, and pass on the transaction context.\r\nAddresses #3760.\r\n\r\nissue: let caller pass in database context, and use it\r\nissue_comment: obtain database context to pass to UpdateIssueMentions\r\nissue_comment: log any error from call to MailParticipants\r\nissue_mail: pass on database context to UpdateIssueMentions\r\n"},"comment":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/comments/262646093","html_url":"https://github.com/go-gitea/gitea/pull/225#issuecomment-262646093","issue_url":"https://api.github.com/repos/go-gitea/gitea/issues/225","id":262646093,"user":{"login":"bkcsoft","id":4726179,"avatar_url":"https://avatars.githubusercontent.com/u/4726179?v=3","gravatar_id":"","url":"https://api.github.com/users/bkcsoft","html_url":"https://github.com/bkcsoft","followers_url":"https://api.github.com/users/bkcsoft/followers","following_url":"https://api.github.com/users/bkcsoft/following{/other_user}","gists_url":"https://api.github.com/users/bkcsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/bkcsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkcsoft/subscriptions","organizations_url":"https://api.github.com/users/bkcsoft/orgs","repos_url":"https://api.github.com/users/bkcsoft/repos","events_url":"https://api.github.com/users/bkcsoft/events{/privacy}","received_events_url":"https://api.github.com/users/bkcsoft/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T22:31:48Z","updated_at":"2016-11-23T22:31:48Z","body":"This doesn't actually fix anything though..."}}
{"actor":{"display_login":"bkcsoft"}}