)]}'
{"ironic_python_agent/agent.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f6e2e11fc1f9bc48ded8433dbdbc507cb017a449","unresolved":false,"context_lines":[{"line_number":381,"context_line":"            self.heartbeater.start()"},{"line_number":382,"context_line":"        try:"},{"line_number":383,"context_line":"            while self.serve_api:"},{"line_number":384,"context_line":"                eventlet.sleep(0.1)"},{"line_number":385,"context_line":"        except KeyboardInterrupt:"},{"line_number":386,"context_line":"            LOG.info(\u0027Caught keyboard interrupt, exiting\u0027)"},{"line_number":387,"context_line":"        self.api.stop()"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff570b3c_676c8e08","line":384,"updated":"2020-05-26 09:47:30.000000000","message":"sleep(0) should work the way we want in theory.. That being said, I see nothing wrong in avoiding busy-looping here, and if it fixes a real world problem - so be it.","commit_id":"952489020ea36aced3737079fa17eff2e37b4da7"}],"releasenotes/notes/fix-high-cpu-usage-eventlet-1dccf3b81dd42c47.yaml":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f6e2e11fc1f9bc48ded8433dbdbc507cb017a449","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes an issue with high cpu usage caused by ironic-python-agent greenthread"},{"line_number":5,"context_line":"    eventlent implementation. "},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    Using eventlet.sleep(0.1) instead of eventlet.sleep(0) gives other processes"},{"line_number":8,"context_line":"    of IPA more cpu time to run."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"ff570b3c_47718ae0","line":5,"updated":"2020-05-26 09:47:30.000000000","message":"nit: trailing space.\n\nalso a typo in \"eventlet\"","commit_id":"952489020ea36aced3737079fa17eff2e37b4da7"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f6e2e11fc1f9bc48ded8433dbdbc507cb017a449","unresolved":false,"context_lines":[{"line_number":5,"context_line":"    eventlent implementation. "},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    Using eventlet.sleep(0.1) instead of eventlet.sleep(0) gives other processes"},{"line_number":8,"context_line":"    of IPA more cpu time to run."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"ff570b3c_274bb687","line":8,"updated":"2020-05-26 09:47:30.000000000","message":"nit: this is a bit too technical, I\u0027d remove it completely.","commit_id":"952489020ea36aced3737079fa17eff2e37b4da7"}]}
