{"action":"closed","issue":{"url":"https://api.github.com/repos/FocusCompany/backend/issues/12","repository_url":"https://api.github.com/repos/FocusCompany/backend","labels_url":"https://api.github.com/repos/FocusCompany/backend/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/FocusCompany/backend/issues/12/comments","events_url":"https://api.github.com/repos/FocusCompany/backend/issues/12/events","html_url":"https://github.com/FocusCompany/backend/issues/12","id":294418062,"number":12,"title":"stat_actors should act independently","user":{"login":"aguadoenzo","id":11411723,"avatar_url":"https://avatars1.githubusercontent.com/u/11411723?v=4","gravatar_id":"","url":"https://api.github.com/users/aguadoenzo","html_url":"https://github.com/aguadoenzo","followers_url":"https://api.github.com/users/aguadoenzo/followers","following_url":"https://api.github.com/users/aguadoenzo/following{/other_user}","gists_url":"https://api.github.com/users/aguadoenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/aguadoenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguadoenzo/subscriptions","organizations_url":"https://api.github.com/users/aguadoenzo/orgs","repos_url":"https://api.github.com/users/aguadoenzo/repos","events_url":"https://api.github.com/users/aguadoenzo/events{/privacy}","received_events_url":"https://api.github.com/users/aguadoenzo/received_events","type":"User","site_admin":false},"labels":[{"id":836280434,"url":"https://api.github.com/repos/FocusCompany/backend/labels/Priority:%20medium","name":"Priority: medium","color":"d3c05f","default":false},{"id":728486160,"url":"https://api.github.com/repos/FocusCompany/backend/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-05T14:47:32Z","updated_at":"2018-05-09T14:29:12Z","closed_at":"2018-05-09T14:29:12Z","author_association":"OWNER","body":"Right now, a `stats_actor` behavior  is called when a `daemon_actor` receives a new event.\r\nA better approach would consist of a swarm of `stats_actor` automatically computing new stats from the database.\r\n\r\nThis would change the `stats_actor` in many ways :\r\n - Managed by a `stats_actor_manager` that would spawn actors as long as no actor is idle (which would indicate that nothing is left to be done until further events arrive in the database)\r\n - They would shutdown after a short timeout (maybe keep a minimum pool size ?)"}}
{"actor":{"display_login":"aguadoenzo"}}