{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7015","repository_url":"https://api.github.com/repos/HabitRPG/habitrpg","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7015/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7015/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7015/events","html_url":"https://github.com/HabitRPG/habitrpg/pull/7015","id":145537130,"number":7015,"title":"added debounce option of 1000ms to delay digest()","user":{"login":"Sinble","id":8887847,"avatar_url":"https://avatars.githubusercontent.com/u/8887847?v=3","gravatar_id":"","url":"https://api.github.com/users/Sinble","html_url":"https://github.com/Sinble","followers_url":"https://api.github.com/users/Sinble/followers","following_url":"https://api.github.com/users/Sinble/following{/other_user}","gists_url":"https://api.github.com/users/Sinble/gists{/gist_id}","starred_url":"https://api.github.com/users/Sinble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sinble/subscriptions","organizations_url":"https://api.github.com/users/Sinble/orgs","repos_url":"https://api.github.com/users/Sinble/repos","events_url":"https://api.github.com/users/Sinble/events{/privacy}","received_events_url":"https://api.github.com/users/Sinble/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-03T20:26:35Z","updated_at":"2016-04-04T18:48:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/7015","html_url":"https://github.com/HabitRPG/habitrpg/pull/7015","diff_url":"https://github.com/HabitRPG/habitrpg/pull/7015.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/7015.patch"},"body":"[//]: # (Note: See http://habitica.wikia.com/wiki/Using_Habitica_Git#Pull_Request for more info)\r\n\r\n[//]: # (Put Issue # or URL here, if applicable. This will automatically close the issue if your PR is merged in)\r\n#6462\r\n\r\n### Changes\r\n[//]: # (Describe the changes that were made in detail here. Include pictures if necessary)\r\nAdded 500+ users and 500+ messages to tarvern chat to reproduce slowness when typing. Found that angular was spending a lot of time in digest. Found article related to slowness [http://www.aaron-gray.com/delaying-the-digest-cycle-in-angularjs/](url). Added 1000ms delay and saw improvement might need to play around with number some more.\r\n\r\n\r\n[//]: # (Put User ID in here - found in Settings -> API)\r\n----\r\nUUID: 25479d8c-45e1-482c-877e-6af2ccaba643\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/205444221","html_url":"https://github.com/HabitRPG/habitrpg/pull/7015#issuecomment-205444221","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7015","id":205444221,"user":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T18:48:33Z","updated_at":"2016-04-04T18:48:33Z","body":"There is this: https://github.com/HabitRPG/habitrpg/issues/4460 \"return key causes chat messages to be submitted - should we change that?\"  The consensus was that Enter to send the message is not desirable. Maybe we could change that at the same time as fixing the chat delay? Faster chat would be popular and would help to smooth over any complaints about the new behaviour for Enter."}}