{"action":"created","issue":{"url":"https://api.github.com/repos/xmrig/xmrig/issues/391","repository_url":"https://api.github.com/repos/xmrig/xmrig","labels_url":"https://api.github.com/repos/xmrig/xmrig/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/xmrig/xmrig/issues/391/comments","events_url":"https://api.github.com/repos/xmrig/xmrig/issues/391/events","html_url":"https://github.com/xmrig/xmrig/issues/391","id":295287147,"number":391,"title":"Feature request - Exit xmrig on connection errors.","user":{"login":"Yorper","id":26498944,"avatar_url":"https://avatars1.githubusercontent.com/u/26498944?v=4","gravatar_id":"","url":"https://api.github.com/users/Yorper","html_url":"https://github.com/Yorper","followers_url":"https://api.github.com/users/Yorper/followers","following_url":"https://api.github.com/users/Yorper/following{/other_user}","gists_url":"https://api.github.com/users/Yorper/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorper/subscriptions","organizations_url":"https://api.github.com/users/Yorper/orgs","repos_url":"https://api.github.com/users/Yorper/repos","events_url":"https://api.github.com/users/Yorper/events{/privacy}","received_events_url":"https://api.github.com/users/Yorper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T20:47:48Z","updated_at":"2018-05-11T06:31:45Z","closed_at":null,"author_association":"NONE","body":"Would it please be possible to add a switch that would cause the application to exit after \"X\" failed reconnection attempts?\r\n\r\nThe reason i ask for this is that i have a mining setup that switches based on profit, but it does this by closing ports and opening others for the next coin.\r\n\r\nI want to use this miner for the XMR portion of the script as in my testing it appears to be the most superior. Right now i'm using ccminer as xmrig doesnt have, to my knowledge the ability to do this.\r\n\r\nThis would be done by passing a switch something like this \"-exit 3\" for 3 failed connections then exiting.\r\n\r\nSo just to be clear, this is the type of thing i mean.\r\n\r\n   IF \r\n       primary stratum server does not respond/connection refused/bad log in credentials.\r\n   THEN\r\n       exit xmrig\r\n   END \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/xmrig/xmrig/issues/comments/388273816","html_url":"https://github.com/xmrig/xmrig/issues/391#issuecomment-388273816","issue_url":"https://api.github.com/repos/xmrig/xmrig/issues/391","id":388273816,"user":{"login":"Yorper","id":26498944,"avatar_url":"https://avatars1.githubusercontent.com/u/26498944?v=4","gravatar_id":"","url":"https://api.github.com/users/Yorper","html_url":"https://github.com/Yorper","followers_url":"https://api.github.com/users/Yorper/followers","following_url":"https://api.github.com/users/Yorper/following{/other_user}","gists_url":"https://api.github.com/users/Yorper/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorper/subscriptions","organizations_url":"https://api.github.com/users/Yorper/orgs","repos_url":"https://api.github.com/users/Yorper/repos","events_url":"https://api.github.com/users/Yorper/events{/privacy}","received_events_url":"https://api.github.com/users/Yorper/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T06:31:45Z","updated_at":"2018-05-11T06:31:45Z","author_association":"NONE","body":"Just bumping as nothing has been said about the potential of this feature."}}
{"actor":{"display_login":"Yorper"}}