)]}'
{"gerritlib/gerrit.py":[{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"d8e4cb00f5507dd9c4ca249a776414b593c619bd","unresolved":false,"context_lines":[{"line_number":202,"context_line":"    def __init__("},{"line_number":203,"context_line":"            self, hostname, username, port\u003d29418, keyfile\u003dNone,"},{"line_number":204,"context_line":"            keep_alive_interval\u003d0,"},{"line_number":205,"context_line":"            connection_attempts\u003d-1,"},{"line_number":206,"context_line":"            retry_delay\u003d5):"},{"line_number":207,"context_line":"        self.connection \u003d GerritConnection("},{"line_number":208,"context_line":"            username, hostname, port, keyfile,"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_0ab17e45","line":205,"range":{"start_line":205,"start_character":32,"end_line":205,"end_character":34},"updated":"2020-09-29 07:54:19.000000000","message":"i was curious what the significance of -1 is\n\nif i understood correctly in the code above on line 55 it results in 1 attempt - not really sure why it couldn\u0027t just be \u00271\u0027 then though... \n\nTIL about gerritlib and gerrit.py and the GerritConnection object ;) https://opendev.org/opendev/gerritlib/src/branch/master/gerritlib/gerrit.py","commit_id":"ac822739841a91f61c0bbb6aad21f44f89ef637d"},{"author":{"_account_id":24162,"name":"Sorin Sbârnea","display_name":"zbr","email":"ssbarnea@redhat.com","username":"ssbarnea","status":"do not feed the troll 🥕"},"change_message_id":"9392d9fc24bd9d65fe5d788b756cd06542e8ae7f","unresolved":false,"context_lines":[{"line_number":202,"context_line":"    def __init__("},{"line_number":203,"context_line":"            self, hostname, username, port\u003d29418, keyfile\u003dNone,"},{"line_number":204,"context_line":"            keep_alive_interval\u003d0,"},{"line_number":205,"context_line":"            connection_attempts\u003d-1,"},{"line_number":206,"context_line":"            retry_delay\u003d5):"},{"line_number":207,"context_line":"        self.connection \u003d GerritConnection("},{"line_number":208,"context_line":"            username, hostname, port, keyfile,"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f560f44_65e4ad43","line":205,"range":{"start_line":205,"start_character":32,"end_line":205,"end_character":34},"in_reply_to":"9f560f44_0ab17e45","updated":"2020-09-29 09:17:08.000000000","message":"-1 means infinite, it will ~never finish because it will decrease more from it. 0 is used for stopping the loop. What matters here is to keep the default value from the called api from gerritlib that does that.","commit_id":"ac822739841a91f61c0bbb6aad21f44f89ef637d"}]}
