{"action":"closed","issue":{"url":"https://api.github.com/repos/natsys/tempesta/issues/113","labels_url":"https://api.github.com/repos/natsys/tempesta/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/natsys/tempesta/issues/113/comments","events_url":"https://api.github.com/repos/natsys/tempesta/issues/113/events","html_url":"https://github.com/natsys/tempesta/issues/113","id":88377867,"number":113,"title":"Regulate reconnect timeouts","user":{"login":"keshonok","id":6352580,"avatar_url":"https://avatars.githubusercontent.com/u/6352580?v=3","gravatar_id":"","url":"https://api.github.com/users/keshonok","html_url":"https://github.com/keshonok","followers_url":"https://api.github.com/users/keshonok/followers","following_url":"https://api.github.com/users/keshonok/following{/other_user}","gists_url":"https://api.github.com/users/keshonok/gists{/gist_id}","starred_url":"https://api.github.com/users/keshonok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keshonok/subscriptions","organizations_url":"https://api.github.com/users/keshonok/orgs","repos_url":"https://api.github.com/users/keshonok/repos","events_url":"https://api.github.com/users/keshonok/events{/privacy}","received_events_url":"https://api.github.com/users/keshonok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/natsys/tempesta/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"keshonok","id":6352580,"avatar_url":"https://avatars.githubusercontent.com/u/6352580?v=3","gravatar_id":"","url":"https://api.github.com/users/keshonok","html_url":"https://github.com/keshonok","followers_url":"https://api.github.com/users/keshonok/followers","following_url":"https://api.github.com/users/keshonok/following{/other_user}","gists_url":"https://api.github.com/users/keshonok/gists{/gist_id}","starred_url":"https://api.github.com/users/keshonok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keshonok/subscriptions","organizations_url":"https://api.github.com/users/keshonok/orgs","repos_url":"https://api.github.com/users/keshonok/repos","events_url":"https://api.github.com/users/keshonok/events{/privacy}","received_events_url":"https://api.github.com/users/keshonok/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/natsys/tempesta/milestones/3","html_url":"https://github.com/natsys/tempesta/milestones/0.5.0%20SSL%20&%20TDB","labels_url":"https://api.github.com/repos/natsys/tempesta/milestones/3/labels","id":1015684,"number":3,"title":"0.5.0 SSL & TDB","description":"","creator":{"login":"krizhanovsky","id":884694,"avatar_url":"https://avatars.githubusercontent.com/u/884694?v=3","gravatar_id":"","url":"https://api.github.com/users/krizhanovsky","html_url":"https://github.com/krizhanovsky","followers_url":"https://api.github.com/users/krizhanovsky/followers","following_url":"https://api.github.com/users/krizhanovsky/following{/other_user}","gists_url":"https://api.github.com/users/krizhanovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/krizhanovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krizhanovsky/subscriptions","organizations_url":"https://api.github.com/users/krizhanovsky/orgs","repos_url":"https://api.github.com/users/krizhanovsky/repos","events_url":"https://api.github.com/users/krizhanovsky/events{/privacy}","received_events_url":"https://api.github.com/users/krizhanovsky/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":2,"state":"open","created_at":"2015-03-10T23:31:23Z","updated_at":"2015-06-24T17:11:02Z","due_on":"2015-08-20T21:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-15T10:02:18Z","updated_at":"2015-06-24T17:11:02Z","closed_at":"2015-06-24T17:11:02Z","body":"When an established connection is lost, or a connect attempt has failed, a reconnect is initiated and then repeated until a connection is established. Each reconnect attempt is made after a timeout that currently constant.\r\n\r\nThe timeout duration should be more flexible and possibly depend on circumstances. In a simpler case it should increase with each failed reconnect attempt, and it should be reset after a reconnect is successful. Reconnect attempts should be stopped altogether when timeout gets too big. That would mean, for instance, moving a backend server to offline state for server connections."}}