{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14149","repository_url":"https://api.github.com/repos/dimagi/commcare-hq","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14149/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14149/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14149/events","html_url":"https://github.com/dimagi/commcare-hq/pull/14149","id":194086931,"number":14149,"title":"Decrease async restore timeout","user":{"login":"proteusvacuum","id":146896,"avatar_url":"https://avatars.githubusercontent.com/u/146896?v=3","gravatar_id":"","url":"https://api.github.com/users/proteusvacuum","html_url":"https://github.com/proteusvacuum","followers_url":"https://api.github.com/users/proteusvacuum/followers","following_url":"https://api.github.com/users/proteusvacuum/following{/other_user}","gists_url":"https://api.github.com/users/proteusvacuum/gists{/gist_id}","starred_url":"https://api.github.com/users/proteusvacuum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proteusvacuum/subscriptions","organizations_url":"https://api.github.com/users/proteusvacuum/orgs","repos_url":"https://api.github.com/users/proteusvacuum/repos","events_url":"https://api.github.com/users/proteusvacuum/events{/privacy}","received_events_url":"https://api.github.com/users/proteusvacuum/received_events","type":"User","site_admin":false},"labels":[{"id":180677609,"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/No%20lint%20errors","name":"No lint errors","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-07T15:52:44Z","updated_at":"2016-12-07T18:26:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/14149","html_url":"https://github.com/dimagi/commcare-hq/pull/14149","diff_url":"https://github.com/dimagi/commcare-hq/pull/14149.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/14149.patch"},"body":"Decrease async restore retry-after parameter to potentially reduce sync times for people who have this turned on.\r\nFYI @amstone326 \r\n@mkangia "},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/265529639","html_url":"https://github.com/dimagi/commcare-hq/pull/14149#issuecomment-265529639","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14149","id":265529639,"user":{"login":"proteusvacuum","id":146896,"avatar_url":"https://avatars.githubusercontent.com/u/146896?v=3","gravatar_id":"","url":"https://api.github.com/users/proteusvacuum","html_url":"https://github.com/proteusvacuum","followers_url":"https://api.github.com/users/proteusvacuum/followers","following_url":"https://api.github.com/users/proteusvacuum/following{/other_user}","gists_url":"https://api.github.com/users/proteusvacuum/gists{/gist_id}","starred_url":"https://api.github.com/users/proteusvacuum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proteusvacuum/subscriptions","organizations_url":"https://api.github.com/users/proteusvacuum/orgs","repos_url":"https://api.github.com/users/proteusvacuum/repos","events_url":"https://api.github.com/users/proteusvacuum/events{/privacy}","received_events_url":"https://api.github.com/users/proteusvacuum/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T18:26:54Z","updated_at":"2016-12-07T18:26:54Z","body":"Yeah, what @benrudolph said. \r\n\r\nWe've been seeing a bunch of restores that take ~15 seconds which means they take ~5 seconds longer than the initial wait period we've set to immediately return a response. The user then actually has to wait 40 seconds to get a response (10 seconds initial wait + 30 seconds \"retry time\"). \r\nThis will all go away when we get around to automatically updating the `Retry-After` header with the restore, but doing that is a bit far down the line. \r\n\r\nPS, the \"15 seconds\" is totally anecdotal and is from me running a test with my test user and watching the celery task complete... so not scientific in any way. "}}
{"actor":{"display_login":"proteusvacuum"}}