{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/3258","repository_url":"https://api.github.com/repos/matrix-org/synapse","labels_url":"https://api.github.com/repos/matrix-org/synapse/issues/3258/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/synapse/issues/3258/comments","events_url":"https://api.github.com/repos/matrix-org/synapse/issues/3258/events","html_url":"https://github.com/matrix-org/synapse/pull/3258","id":325229997,"number":3258,"title":"Fix logcontext resource usage tracking","user":{"login":"erikjohnston","id":8428120,"avatar_url":"https://avatars0.githubusercontent.com/u/8428120?v=4","gravatar_id":"","url":"https://api.github.com/users/erikjohnston","html_url":"https://github.com/erikjohnston","followers_url":"https://api.github.com/users/erikjohnston/followers","following_url":"https://api.github.com/users/erikjohnston/following{/other_user}","gists_url":"https://api.github.com/users/erikjohnston/gists{/gist_id}","starred_url":"https://api.github.com/users/erikjohnston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikjohnston/subscriptions","organizations_url":"https://api.github.com/users/erikjohnston/orgs","repos_url":"https://api.github.com/users/erikjohnston/repos","events_url":"https://api.github.com/users/erikjohnston/events{/privacy}","received_events_url":"https://api.github.com/users/erikjohnston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"richvdh","id":1389908,"avatar_url":"https://avatars1.githubusercontent.com/u/1389908?v=4","gravatar_id":"","url":"https://api.github.com/users/richvdh","html_url":"https://github.com/richvdh","followers_url":"https://api.github.com/users/richvdh/followers","following_url":"https://api.github.com/users/richvdh/following{/other_user}","gists_url":"https://api.github.com/users/richvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/richvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richvdh/subscriptions","organizations_url":"https://api.github.com/users/richvdh/orgs","repos_url":"https://api.github.com/users/richvdh/repos","events_url":"https://api.github.com/users/richvdh/events{/privacy}","received_events_url":"https://api.github.com/users/richvdh/received_events","type":"User","site_admin":false},"assignees":[{"login":"richvdh","id":1389908,"avatar_url":"https://avatars1.githubusercontent.com/u/1389908?v=4","gravatar_id":"","url":"https://api.github.com/users/richvdh","html_url":"https://github.com/richvdh","followers_url":"https://api.github.com/users/richvdh/followers","following_url":"https://api.github.com/users/richvdh/following{/other_user}","gists_url":"https://api.github.com/users/richvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/richvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richvdh/subscriptions","organizations_url":"https://api.github.com/users/richvdh/orgs","repos_url":"https://api.github.com/users/richvdh/repos","events_url":"https://api.github.com/users/richvdh/events{/privacy}","received_events_url":"https://api.github.com/users/richvdh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-22T10:19:52Z","updated_at":"2018-05-22T10:36:25Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/matrix-org/synapse/pulls/3258","html_url":"https://github.com/matrix-org/synapse/pull/3258","diff_url":"https://github.com/matrix-org/synapse/pull/3258.diff","patch_url":"https://github.com/matrix-org/synapse/pull/3258.patch"},"body":"This sanitises things to make us increase `ru_utime` and `ru_stime` when we finish the context rather than when we (re)start the context? I'm not really sure how it worked before."},"comment":{"url":"https://api.github.com/repos/matrix-org/synapse/issues/comments/390944143","html_url":"https://github.com/matrix-org/synapse/pull/3258#issuecomment-390944143","issue_url":"https://api.github.com/repos/matrix-org/synapse/issues/3258","id":390944143,"user":{"login":"richvdh","id":1389908,"avatar_url":"https://avatars1.githubusercontent.com/u/1389908?v=4","gravatar_id":"","url":"https://api.github.com/users/richvdh","html_url":"https://github.com/richvdh","followers_url":"https://api.github.com/users/richvdh/followers","following_url":"https://api.github.com/users/richvdh/following{/other_user}","gists_url":"https://api.github.com/users/richvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/richvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richvdh/subscriptions","organizations_url":"https://api.github.com/users/richvdh/orgs","repos_url":"https://api.github.com/users/richvdh/repos","events_url":"https://api.github.com/users/richvdh/events{/privacy}","received_events_url":"https://api.github.com/users/richvdh/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T10:36:25Z","updated_at":"2018-05-22T10:36:25Z","author_association":"MEMBER","body":"> I'm not really sure how it worked before.\r\n\r\nI think it worked provided you only called `get_resource_usage` while the context was still active, or at least not much had happened since."}}
{"actor":{"display_login":"richvdh"}}