)]}'
{"oslo_messaging/_drivers/zmq_driver/zmq_options.py":[{"author":{"_account_id":8770,"name":"Ken Giusti","email":"kgiusti@gmail.com","username":"kgiusti"},"change_message_id":"e16e1a4291557d643ade65c80890daa2499601ac","unresolved":false,"context_lines":[{"line_number":127,"context_line":"                    \u0027disable and enable the option respectively.\u0027),"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    cfg.IntOpt(\u0027zmq_tcp_keepalive_idle\u0027, default\u003d-1,"},{"line_number":130,"context_line":"               help\u003d\u0027The duration between two keepalive transmissions in \u0027"},{"line_number":131,"context_line":"                    \u0027idle condition. \u0027"},{"line_number":132,"context_line":"                    \u0027The default value of -1 (or any other negative value) \u0027"},{"line_number":133,"context_line":"                    \u0027means to skip any overrides and leave it to OS default.\u0027),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_47936b4f","line":130,"updated":"2016-09-06 19:13:23.000000000","message":"Can you explicitly describe the units here?  I\u0027m assuming the value is in seconds... but what do I know? :)","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":20864,"name":"Gevorg Davoian","email":"gdavoian@gmail.com","username":"gdavoian"},"change_message_id":"07ba2366ee0662cc030c46b0a76a212a1ba1be02","unresolved":false,"context_lines":[{"line_number":127,"context_line":"                    \u0027disable and enable the option respectively.\u0027),"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    cfg.IntOpt(\u0027zmq_tcp_keepalive_idle\u0027, default\u003d-1,"},{"line_number":130,"context_line":"               help\u003d\u0027The duration between two keepalive transmissions in \u0027"},{"line_number":131,"context_line":"                    \u0027idle condition. \u0027"},{"line_number":132,"context_line":"                    \u0027The default value of -1 (or any other negative value) \u0027"},{"line_number":133,"context_line":"                    \u0027means to skip any overrides and leave it to OS default.\u0027),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_76f56455","line":130,"in_reply_to":"9a89bdaa_47936b4f","updated":"2016-09-07 10:11:54.000000000","message":"Thanks for your remark. This question turned out to be tricky, since the official ZMQ documentation doesn\u0027t say anything about the units. I have managed to find out, that this option is platform-dependent: in Linux it is treated as seconds, in Windows as milliseconds etc.","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":8770,"name":"Ken Giusti","email":"kgiusti@gmail.com","username":"kgiusti"},"change_message_id":"e16e1a4291557d643ade65c80890daa2499601ac","unresolved":false,"context_lines":[{"line_number":139,"context_line":"                    \u0027means to skip any overrides and leave it to OS default.\u0027),"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    cfg.IntOpt(\u0027zmq_tcp_keepalive_intvl\u0027, default\u003d-1,"},{"line_number":142,"context_line":"               help\u003d\u0027The duration between two successive keepalive \u0027"},{"line_number":143,"context_line":"                    \u0027retransmissions, if acknowledgement to the previous \u0027"},{"line_number":144,"context_line":"                    \u0027keepalive transmission is not received. \u0027"},{"line_number":145,"context_line":"                    \u0027The default value of -1 (or any other negative value) \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_27902743","line":142,"updated":"2016-09-06 19:13:23.000000000","message":"Same here, maybe \"The time in seconds between two...\"","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":20864,"name":"Gevorg Davoian","email":"gdavoian@gmail.com","username":"gdavoian"},"change_message_id":"07ba2366ee0662cc030c46b0a76a212a1ba1be02","unresolved":false,"context_lines":[{"line_number":139,"context_line":"                    \u0027means to skip any overrides and leave it to OS default.\u0027),"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"    cfg.IntOpt(\u0027zmq_tcp_keepalive_intvl\u0027, default\u003d-1,"},{"line_number":142,"context_line":"               help\u003d\u0027The duration between two successive keepalive \u0027"},{"line_number":143,"context_line":"                    \u0027retransmissions, if acknowledgement to the previous \u0027"},{"line_number":144,"context_line":"                    \u0027keepalive transmission is not received. \u0027"},{"line_number":145,"context_line":"                    \u0027The default value of -1 (or any other negative value) \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_ea5d087a","line":142,"in_reply_to":"9a89bdaa_27902743","updated":"2016-09-07 10:11:54.000000000","message":"Ditto","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"}],"oslo_messaging/_drivers/zmq_driver/zmq_socket.py":[{"author":{"_account_id":8770,"name":"Ken Giusti","email":"kgiusti@gmail.com","username":"kgiusti"},"change_message_id":"e16e1a4291557d643ade65c80890daa2499601ac","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE, keepalive)"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        keepalive_idle \u003d self.conf.oslo_messaging_zmq.zmq_tcp_keepalive_idle"},{"line_number":67,"context_line":"        if keepalive_idle \u003c 0:"},{"line_number":68,"context_line":"            keepalive_idle \u003d -1"},{"line_number":69,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_IDLE, keepalive_idle)"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_47628bae","line":67,"updated":"2016-09-06 19:13:23.000000000","message":"It is possible to set a value of zero - is that a legal value if keepalive is enabled?","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":20864,"name":"Gevorg Davoian","email":"gdavoian@gmail.com","username":"gdavoian"},"change_message_id":"07ba2366ee0662cc030c46b0a76a212a1ba1be02","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE, keepalive)"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        keepalive_idle \u003d self.conf.oslo_messaging_zmq.zmq_tcp_keepalive_idle"},{"line_number":67,"context_line":"        if keepalive_idle \u003c 0:"},{"line_number":68,"context_line":"            keepalive_idle \u003d -1"},{"line_number":69,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_IDLE, keepalive_idle)"},{"line_number":70,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_80f0dd68","line":67,"in_reply_to":"9a89bdaa_47628bae","updated":"2016-09-07 10:11:54.000000000","message":"If keepalive is enabled, then the value of zero isn\u0027t acceptable and leads a script to be aborted. Although ZMQ documentation doesn\u0027t say anything about the value of zero. Neither do Linux and Windows documentations about socket options. So I suggest to think that 0 equals -1 here :)","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":8770,"name":"Ken Giusti","email":"kgiusti@gmail.com","username":"kgiusti"},"change_message_id":"e16e1a4291557d643ade65c80890daa2499601ac","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_IDLE, keepalive_idle)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        keepalive_cnt \u003d self.conf.oslo_messaging_zmq.zmq_tcp_keepalive_cnt"},{"line_number":72,"context_line":"        if keepalive_cnt \u003c 0:"},{"line_number":73,"context_line":"            keepalive_cnt \u003d -1"},{"line_number":74,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_CNT, keepalive_cnt)"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_272d8746","line":72,"updated":"2016-09-06 19:13:23.000000000","message":"same here - what happens if zero?","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":20864,"name":"Gevorg Davoian","email":"gdavoian@gmail.com","username":"gdavoian"},"change_message_id":"07ba2366ee0662cc030c46b0a76a212a1ba1be02","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_IDLE, keepalive_idle)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        keepalive_cnt \u003d self.conf.oslo_messaging_zmq.zmq_tcp_keepalive_cnt"},{"line_number":72,"context_line":"        if keepalive_cnt \u003c 0:"},{"line_number":73,"context_line":"            keepalive_cnt \u003d -1"},{"line_number":74,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_CNT, keepalive_cnt)"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_a0f5e157","line":72,"in_reply_to":"9a89bdaa_272d8746","updated":"2016-09-07 10:11:54.000000000","message":"Ditto","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":8770,"name":"Ken Giusti","email":"kgiusti@gmail.com","username":"kgiusti"},"change_message_id":"e16e1a4291557d643ade65c80890daa2499601ac","unresolved":false,"context_lines":[{"line_number":74,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_CNT, keepalive_cnt)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        keepalive_intvl \u003d self.conf.oslo_messaging_zmq.zmq_tcp_keepalive_intvl"},{"line_number":77,"context_line":"        if keepalive_intvl \u003c 0:"},{"line_number":78,"context_line":"            keepalive_cnt \u003d -1"},{"line_number":79,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_INTVL, keepalive_intvl)"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_070083a9","line":77,"updated":"2016-09-06 19:13:23.000000000","message":"and same here.","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"},{"author":{"_account_id":20864,"name":"Gevorg Davoian","email":"gdavoian@gmail.com","username":"gdavoian"},"change_message_id":"07ba2366ee0662cc030c46b0a76a212a1ba1be02","unresolved":false,"context_lines":[{"line_number":74,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_CNT, keepalive_cnt)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"        keepalive_intvl \u003d self.conf.oslo_messaging_zmq.zmq_tcp_keepalive_intvl"},{"line_number":77,"context_line":"        if keepalive_intvl \u003c 0:"},{"line_number":78,"context_line":"            keepalive_cnt \u003d -1"},{"line_number":79,"context_line":"        self.handle.setsockopt(zmq.TCP_KEEPALIVE_INTVL, keepalive_intvl)"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_0005ad44","line":77,"in_reply_to":"9a89bdaa_070083a9","updated":"2016-09-07 10:11:54.000000000","message":"Ditto","commit_id":"c1c4ffa27be40703f2ba816199381571a0eb0326"}]}
