)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"change_message_id":"b42a1a8da304ea79c3b3ef85af29c6e5fcf1906b","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix health probe for several conductor workers"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"It was observed that when increasing amount of"},{"line_number":10,"context_line":"conductor workers from default \"1\" to higher value"},{"line_number":11,"context_line":"the readiness probe fails to check rabbitmq connections"},{"line_number":12,"context_line":"for conductor processes - it happens since the script is trying"},{"line_number":13,"context_line":"to obtain rabbitmq connections for parent conductor process"},{"line_number":14,"context_line":"which in case of workers\u003e1 doesn`t open rabbit connections"},{"line_number":15,"context_line":"but spawns child processes which handle rabbitmq"},{"line_number":16,"context_line":"connections instead."},{"line_number":17,"context_line":"This patch removes the \"check-all-pids\" option, keeps the logic"},{"line_number":18,"context_line":"but simplifies and fastens he code - instead of checking all"},{"line_number":19,"context_line":"processes when \"check-all-pids\" option was set (however"},{"line_number":20,"context_line":"regardless of \"sock_count value\" if only one process opens connection"},{"line_number":21,"context_line":"the check returns positive result) processes will be checked one-by-one"},{"line_number":22,"context_line":"until the first one with open rabbitmq connection(s) is"},{"line_number":23,"context_line":"found."},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"Change-Id: I72be0bbdefcba77a55b6ceed6e192c9621c069eb"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3fa7e38b_06976c3b","line":23,"range":{"start_line":9,"start_character":0,"end_line":23,"end_character":6},"updated":"2020-01-31 04:16:27.000000000","message":"could reflow that if you get a chance to make other changes","commit_id":"0a0d68a3714bcc20e47683cd016627289c557462"}]}
