{"action":"opened","issue":{"url":"https://api.github.com/repos/letsencrypt/boulder/issues/2056","repository_url":"https://api.github.com/repos/letsencrypt/boulder","labels_url":"https://api.github.com/repos/letsencrypt/boulder/issues/2056/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/boulder/issues/2056/comments","events_url":"https://api.github.com/repos/letsencrypt/boulder/issues/2056/events","html_url":"https://github.com/letsencrypt/boulder/issues/2056","id":165885615,"number":2056,"title":"updateCertStatus in expiration-mailer has an unnecessary transaction","user":{"login":"jsha","id":220205,"avatar_url":"https://avatars.githubusercontent.com/u/220205?v=3","gravatar_id":"","url":"https://api.github.com/users/jsha","html_url":"https://github.com/jsha","followers_url":"https://api.github.com/users/jsha/followers","following_url":"https://api.github.com/users/jsha/following{/other_user}","gists_url":"https://api.github.com/users/jsha/gists{/gist_id}","starred_url":"https://api.github.com/users/jsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsha/subscriptions","organizations_url":"https://api.github.com/users/jsha/orgs","repos_url":"https://api.github.com/users/jsha/repos","events_url":"https://api.github.com/users/jsha/events{/privacy}","received_events_url":"https://api.github.com/users/jsha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-15T21:58:55Z","updated_at":"2016-07-15T21:58:55Z","closed_at":null,"body":"In expiration-mailer, when we want to set lastNagSent to `Now()`, we start a transaction, read the object, update one field, write it back, and close the transaction. Instead, we should do a much simpler and more efficient `UPDATE certificateStatus SET lastNagSent = ? where serial = ?;`."}}
{"actor":{"display_login":"jsha"}}