{"action":"created","issue":{"url":"https://api.github.com/repos/withspectrum/spectrum/issues/4473","repository_url":"https://api.github.com/repos/withspectrum/spectrum","labels_url":"https://api.github.com/repos/withspectrum/spectrum/issues/4473/labels{/name}","comments_url":"https://api.github.com/repos/withspectrum/spectrum/issues/4473/comments","events_url":"https://api.github.com/repos/withspectrum/spectrum/issues/4473/events","html_url":"https://github.com/withspectrum/spectrum/pull/4473","id":391087167,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4NzAyNjA2","number":4473,"title":"More aggressively reconnect changefeeds","user":{"login":"mxstbr","id":7525670,"node_id":"MDQ6VXNlcjc1MjU2NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/7525670?v=4","gravatar_id":"","url":"https://api.github.com/users/mxstbr","html_url":"https://github.com/mxstbr","followers_url":"https://api.github.com/users/mxstbr/followers","following_url":"https://api.github.com/users/mxstbr/following{/other_user}","gists_url":"https://api.github.com/users/mxstbr/gists{/gist_id}","starred_url":"https://api.github.com/users/mxstbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxstbr/subscriptions","organizations_url":"https://api.github.com/users/mxstbr/orgs","repos_url":"https://api.github.com/users/mxstbr/repos","events_url":"https://api.github.com/users/mxstbr/events{/privacy}","received_events_url":"https://api.github.com/users/mxstbr/received_events","type":"User","site_admin":true},"labels":[{"id":737428259,"node_id":"MDU6TGFiZWw3Mzc0MjgyNTk=","url":"https://api.github.com/repos/withspectrum/spectrum/labels/Ready%20for%20Review","name":"Ready for Review","color":"00b88b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-14T12:12:19Z","updated_at":"2018-12-14T17:56:16Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/withspectrum/spectrum/pulls/4473","html_url":"https://github.com/withspectrum/spectrum/pull/4473","diff_url":"https://github.com/withspectrum/spectrum/pull/4473.diff","patch_url":"https://github.com/withspectrum/spectrum/pull/4473.patch"},"body":"<!-- FILL OUT THE BELOW FORM OR YOUR PR WILL BE AUTOMATICALLY CLOSED -->\n**Status**\n- [ ] WIP\n- [x] Ready for review\n- [ ] Needs testing\n\n**Deploy after merge (delete what needn't be deployed)**\n- api\n\nThe `rethinkdb-changefeed-reconnect` library implements a linear back-off strategy, that means the delay between connection attempts is set to `attemptDelay * numAttempts`. (see https://github.com/LearnersGuild/rethinkdb-changefeed-reconnect/blob/a0228387c3b3e3cb6face53b7bc1c8b631449675/src/index.js#L22-L24)\n\nOur default value of 60s for the attemptDelay is thusly very slow, the first attempt will be made after 60s, second 120s after that, third 180s after that, etc. etc. etc.\n\nThis switches it to be a bit more aggressive and try reconnecting after 10s, then 20s after that, then 30s after that, then 40s after that, etc."},"comment":{"url":"https://api.github.com/repos/withspectrum/spectrum/issues/comments/447402714","html_url":"https://github.com/withspectrum/spectrum/pull/4473#issuecomment-447402714","issue_url":"https://api.github.com/repos/withspectrum/spectrum/issues/4473","id":447402714,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzQwMjcxNA==","user":{"login":"brianlovin","id":1923260,"node_id":"MDQ6VXNlcjE5MjMyNjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1923260?v=4","gravatar_id":"","url":"https://api.github.com/users/brianlovin","html_url":"https://github.com/brianlovin","followers_url":"https://api.github.com/users/brianlovin/followers","following_url":"https://api.github.com/users/brianlovin/following{/other_user}","gists_url":"https://api.github.com/users/brianlovin/gists{/gist_id}","starred_url":"https://api.github.com/users/brianlovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianlovin/subscriptions","organizations_url":"https://api.github.com/users/brianlovin/orgs","repos_url":"https://api.github.com/users/brianlovin/repos","events_url":"https://api.github.com/users/brianlovin/events{/privacy}","received_events_url":"https://api.github.com/users/brianlovin/received_events","type":"User","site_admin":true},"created_at":"2018-12-14T17:56:16Z","updated_at":"2018-12-14T17:56:16Z","author_association":"MEMBER","body":"Will ship and see if this can help"}}
{"actor":{"display_login":"brianlovin"}}