{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2258","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2258/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2258/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2258/events","html_url":"https://github.com/medic/medic-webapp/issues/2258","id":151902352,"number":2258,"title":"Webapp freezes often while editing contacts","user":{"login":"sglangevin","id":1286381,"avatar_url":"https://avatars.githubusercontent.com/u/1286381?v=3","gravatar_id":"","url":"https://api.github.com/users/sglangevin","html_url":"https://github.com/sglangevin","followers_url":"https://api.github.com/users/sglangevin/followers","following_url":"https://api.github.com/users/sglangevin/following{/other_user}","gists_url":"https://api.github.com/users/sglangevin/gists{/gist_id}","starred_url":"https://api.github.com/users/sglangevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglangevin/subscriptions","organizations_url":"https://api.github.com/users/sglangevin/orgs","repos_url":"https://api.github.com/users/sglangevin/repos","events_url":"https://api.github.com/users/sglangevin/events{/privacy}","received_events_url":"https://api.github.com/users/sglangevin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Bug","name":"Bug","color":"c10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/medic/medic-webapp/milestones/50","html_url":"https://github.com/medic/medic-webapp/milestones/April%2018th%20-%20May%202nd:%20Gateway%20issues,%20Release","labels_url":"https://api.github.com/repos/medic/medic-webapp/milestones/50/labels","id":1715211,"number":50,"title":"April 18th - May 2nd: Gateway issues, Release","description":"","creator":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":13,"state":"open","created_at":"2016-04-18T19:58:13Z","updated_at":"2016-04-29T15:52:21Z","due_on":"2016-05-02T07:00:00Z","closed_at":null},"comments":3,"created_at":"2016-04-29T15:52:21Z","updated_at":"2016-04-29T17:58:59Z","closed_at":null,"body":"Seen on lg.app and lg.dev. When I'm editing contacts, the app crashes after I edit a few contacts. Seems  to be getting worse as more data is added to lg.app. The only way I know to reliably reproduce is to use the UI to edit several contacts. After 2-3 it usually crashes.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1286381/14921487/267b539a-0df8-11e6-8970-9053077bcec1.png)\r\n![image](https://cloud.githubusercontent.com/assets/1286381/14921496/3354a4e0-0df8-11e6-815b-ca33dde7739f.png)\r\n![image](https://cloud.githubusercontent.com/assets/1286381/14921515/41ae7020-0df8-11e6-8edd-4450f57ddc8c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/215830868","html_url":"https://github.com/medic/medic-webapp/issues/2258#issuecomment-215830868","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/2258","id":215830868,"user":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T17:58:59Z","updated_at":"2016-04-29T17:58:59Z","body":"There is a fairly good chance I've solved this issue[1] with the crop of refactoring I've pushed in https://github.com/medic/medic-webapp/compare/0b677ef4cd4376a44921f6b50e3a024f96520669...08339a5fa192a6bacde5c8fbbd9f8bd9f6a812b5\r\n\r\nThe only way to tell would be to put the code in develop onto a server that was having this issue though.\r\n\r\n[1] Not the issue specifically, which is that we're timing out after 10 seconds, but we should not perform this request anymore, certainly not while editing and adding contacts."}}