{"action":"created","issue":{"url":"https://api.github.com/repos/fablabbcn/smartcitizen-api/issues/121","repository_url":"https://api.github.com/repos/fablabbcn/smartcitizen-api","labels_url":"https://api.github.com/repos/fablabbcn/smartcitizen-api/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/fablabbcn/smartcitizen-api/issues/121/comments","events_url":"https://api.github.com/repos/fablabbcn/smartcitizen-api/issues/121/events","html_url":"https://github.com/fablabbcn/smartcitizen-api/issues/121","id":379200489,"node_id":"MDU6SXNzdWUzNzkyMDA0ODk=","number":121,"title":"Create device extremely slow","user":{"login":"pral2a","id":74249,"node_id":"MDQ6VXNlcjc0MjQ5","avatar_url":"https://avatars3.githubusercontent.com/u/74249?v=4","gravatar_id":"","url":"https://api.github.com/users/pral2a","html_url":"https://github.com/pral2a","followers_url":"https://api.github.com/users/pral2a/followers","following_url":"https://api.github.com/users/pral2a/following{/other_user}","gists_url":"https://api.github.com/users/pral2a/gists{/gist_id}","starred_url":"https://api.github.com/users/pral2a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pral2a/subscriptions","organizations_url":"https://api.github.com/users/pral2a/orgs","repos_url":"https://api.github.com/users/pral2a/repos","events_url":"https://api.github.com/users/pral2a/events{/privacy}","received_events_url":"https://api.github.com/users/pral2a/received_events","type":"User","site_admin":false},"labels":[{"id":170539437,"node_id":"MDU6TGFiZWwxNzA1Mzk0Mzc=","url":"https://api.github.com/repos/fablabbcn/smartcitizen-api/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"viktorsmari","id":1689020,"node_id":"MDQ6VXNlcjE2ODkwMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1689020?v=4","gravatar_id":"","url":"https://api.github.com/users/viktorsmari","html_url":"https://github.com/viktorsmari","followers_url":"https://api.github.com/users/viktorsmari/followers","following_url":"https://api.github.com/users/viktorsmari/following{/other_user}","gists_url":"https://api.github.com/users/viktorsmari/gists{/gist_id}","starred_url":"https://api.github.com/users/viktorsmari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktorsmari/subscriptions","organizations_url":"https://api.github.com/users/viktorsmari/orgs","repos_url":"https://api.github.com/users/viktorsmari/repos","events_url":"https://api.github.com/users/viktorsmari/events{/privacy}","received_events_url":"https://api.github.com/users/viktorsmari/received_events","type":"User","site_admin":false},"assignees":[{"login":"viktorsmari","id":1689020,"node_id":"MDQ6VXNlcjE2ODkwMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1689020?v=4","gravatar_id":"","url":"https://api.github.com/users/viktorsmari","html_url":"https://github.com/viktorsmari","followers_url":"https://api.github.com/users/viktorsmari/followers","following_url":"https://api.github.com/users/viktorsmari/following{/other_user}","gists_url":"https://api.github.com/users/viktorsmari/gists{/gist_id}","starred_url":"https://api.github.com/users/viktorsmari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktorsmari/subscriptions","organizations_url":"https://api.github.com/users/viktorsmari/orgs","repos_url":"https://api.github.com/users/viktorsmari/repos","events_url":"https://api.github.com/users/viktorsmari/events{/privacy}","received_events_url":"https://api.github.com/users/viktorsmari/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-09T15:13:34Z","updated_at":"2018-11-09T15:21:37Z","closed_at":null,"author_association":"MEMBER","body":"All operations involving the creation of a new device are far slower (from 10-20sec) than before\r\n\r\n`POST /v0/devices`  \r\n\r\nhttps://github.com/fablabbcn/smartcitizen-api/blob/c3c1fa1b55c6355346af343df314315825d5776d/app/controllers/v0/devices_controller.rb#L53\r\n\r\n`POST v0/onboarding/register`\r\n\r\nhttps://github.com/fablabbcn/smartcitizen-api/blob/c3c1fa1b55c6355346af343df314315825d5776d/app/controllers/v0/onboarding/device_registrations_controller.rb#L19\r\n\r\nMaybe this is due to the change from G Maps to Open Street Maps API for reverse geolocation https://github.com/fablabbcn/smartcitizen-api/commit/dc3117adc9d20b47706b20e04f55e15e2c408db9\r\n"},"comment":{"url":"https://api.github.com/repos/fablabbcn/smartcitizen-api/issues/comments/437391917","html_url":"https://github.com/fablabbcn/smartcitizen-api/issues/121#issuecomment-437391917","issue_url":"https://api.github.com/repos/fablabbcn/smartcitizen-api/issues/121","id":437391917,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzM5MTkxNw==","user":{"login":"pral2a","id":74249,"node_id":"MDQ6VXNlcjc0MjQ5","avatar_url":"https://avatars3.githubusercontent.com/u/74249?v=4","gravatar_id":"","url":"https://api.github.com/users/pral2a","html_url":"https://github.com/pral2a","followers_url":"https://api.github.com/users/pral2a/followers","following_url":"https://api.github.com/users/pral2a/following{/other_user}","gists_url":"https://api.github.com/users/pral2a/gists{/gist_id}","starred_url":"https://api.github.com/users/pral2a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pral2a/subscriptions","organizations_url":"https://api.github.com/users/pral2a/orgs","repos_url":"https://api.github.com/users/pral2a/repos","events_url":"https://api.github.com/users/pral2a/events{/privacy}","received_events_url":"https://api.github.com/users/pral2a/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T15:21:37Z","updated_at":"2018-11-09T15:21:37Z","author_association":"MEMBER","body":"![screenshot 2018-11-08 17 41 49](https://user-images.githubusercontent.com/74249/48270954-84fa4e00-e43b-11e8-973e-c340ba1f8245.png)\r\n"}}
{"actor":{"display_login":"pral2a"}}