{"action":"created","issue":{"url":"https://api.github.com/repos/l2isbad/go.d.plugin/issues/23","repository_url":"https://api.github.com/repos/l2isbad/go.d.plugin","labels_url":"https://api.github.com/repos/l2isbad/go.d.plugin/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/l2isbad/go.d.plugin/issues/23/comments","events_url":"https://api.github.com/repos/l2isbad/go.d.plugin/issues/23/events","html_url":"https://github.com/l2isbad/go.d.plugin/pull/23","id":348199090,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NjAzNjA4","number":23,"title":"add msg per interval limit to logger","user":{"login":"l2isbad","id":22274335,"node_id":"MDQ6VXNlcjIyMjc0MzM1","avatar_url":"https://avatars3.githubusercontent.com/u/22274335?v=4","gravatar_id":"","url":"https://api.github.com/users/l2isbad","html_url":"https://github.com/l2isbad","followers_url":"https://api.github.com/users/l2isbad/followers","following_url":"https://api.github.com/users/l2isbad/following{/other_user}","gists_url":"https://api.github.com/users/l2isbad/gists{/gist_id}","starred_url":"https://api.github.com/users/l2isbad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l2isbad/subscriptions","organizations_url":"https://api.github.com/users/l2isbad/orgs","repos_url":"https://api.github.com/users/l2isbad/repos","events_url":"https://api.github.com/users/l2isbad/events{/privacy}","received_events_url":"https://api.github.com/users/l2isbad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-07T07:25:43Z","updated_at":"2018-08-07T09:06:45Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/l2isbad/go.d.plugin/pulls/23","html_url":"https://github.com/l2isbad/go.d.plugin/pull/23","diff_url":"https://github.com/l2isbad/go.d.plugin/pull/23.diff","patch_url":"https://github.com/l2isbad/go.d.plugin/pull/23.patch"},"body":"@Wing924 "},"comment":{"url":"https://api.github.com/repos/l2isbad/go.d.plugin/issues/comments/410988272","html_url":"https://github.com/l2isbad/go.d.plugin/pull/23#issuecomment-410988272","issue_url":"https://api.github.com/repos/l2isbad/go.d.plugin/issues/23","id":410988272,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDk4ODI3Mg==","user":{"login":"l2isbad","id":22274335,"node_id":"MDQ6VXNlcjIyMjc0MzM1","avatar_url":"https://avatars3.githubusercontent.com/u/22274335?v=4","gravatar_id":"","url":"https://api.github.com/users/l2isbad","html_url":"https://github.com/l2isbad","followers_url":"https://api.github.com/users/l2isbad/followers","following_url":"https://api.github.com/users/l2isbad/following{/other_user}","gists_url":"https://api.github.com/users/l2isbad/gists{/gist_id}","starred_url":"https://api.github.com/users/l2isbad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l2isbad/subscriptions","organizations_url":"https://api.github.com/users/l2isbad/orgs","repos_url":"https://api.github.com/users/l2isbad/repos","events_url":"https://api.github.com/users/l2isbad/events{/privacy}","received_events_url":"https://api.github.com/users/l2isbad/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T09:06:45Z","updated_at":"2018-08-07T09:06:45Z","author_association":"OWNER","body":"Seem still a race here\r\n\r\n\r\n```go\r\n\tcase <-l.resetCh:\r\n\t\tl.count = 0\r\n\tdefault:\r\n\t}\r\n```\r\n\r\nShould i use `atomic.AddInt64(&l.count, -atomic.LoadInt64(&l.count))` ? lol"}}
{"actor":{"display_login":"l2isbad"}}