)]}'
{"monasca_agent/collector/daemon.py":[{"author":{"_account_id":14273,"name":"Joe Keen","email":"joe.keen@hpe.com","username":"jkeen"},"change_message_id":"7be0a81c689493b2b52b288c10ee60e36e15e81e","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        check_frequency \u003d int(config[\u0027check_freq\u0027])"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        # Initialize the auto-restarter"},{"line_number":98,"context_line":"        self.restart_interval \u003d int(config.get(\u0027restart_interval\u0027, RESTART_INTERVAL))"},{"line_number":99,"context_line":"        self.agent_start \u003d time.time()"},{"line_number":100,"context_line":"        total_collection_time \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_bef70d58","line":97,"range":{"start_line":97,"start_character":8,"end_line":97,"end_character":39},"updated":"2016-02-05 03:13:00.000000000","message":"I was reviewing this when this comment jumped out.  It looks like the agent already has all the capabilities we wanted to add.\n\nThe next two lines along with an \"autorestart\" configuration setting should do what we want.","commit_id":"cfc4fa786210e318f21d2b9ff954ab5a5f5d0352"},{"author":{"_account_id":14273,"name":"Joe Keen","email":"joe.keen@hpe.com","username":"jkeen"},"change_message_id":"c0dcf427dfe581a9e3fc248659e664c29360fe59","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        check_frequency \u003d int(config[\u0027check_freq\u0027])"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        # Initialize the auto-restarter"},{"line_number":98,"context_line":"        self.restart_interval \u003d int(config.get(\u0027restart_interval\u0027, RESTART_INTERVAL))"},{"line_number":99,"context_line":"        self.agent_start \u003d time.time()"},{"line_number":100,"context_line":"        total_collection_time \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_e96aadb2","line":97,"range":{"start_line":97,"start_character":8,"end_line":97,"end_character":39},"in_reply_to":"5a5ae5dd_bea5cd47","updated":"2016-02-05 03:25:29.000000000","message":"Since they\u0027re all separate processes it can\u0027t restart the agent as a whole.  It\u0027s using the same _do_restart that you\u0027re taking advantage of so anything it could do to effect the agent as a whole, probably with the exit code, you\u0027re going to be doing as well.","commit_id":"cfc4fa786210e318f21d2b9ff954ab5a5f5d0352"},{"author":{"_account_id":18179,"name":"Kaiyan Sheng","email":"kaiyan.sheng@hpe.com","username":"kaiyan-sheng"},"change_message_id":"b796becb87747fd81b925af2eadd67a798811a42","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        check_frequency \u003d int(config[\u0027check_freq\u0027])"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        # Initialize the auto-restarter"},{"line_number":98,"context_line":"        self.restart_interval \u003d int(config.get(\u0027restart_interval\u0027, RESTART_INTERVAL))"},{"line_number":99,"context_line":"        self.agent_start \u003d time.time()"},{"line_number":100,"context_line":"        total_collection_time \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_bea5cd47","line":97,"range":{"start_line":97,"start_character":8,"end_line":97,"end_character":39},"in_reply_to":"5a5ae5dd_bef70d58","updated":"2016-02-05 03:15:04.000000000","message":"I saw this one too but is this one restarting the collector or the whole agent?","commit_id":"cfc4fa786210e318f21d2b9ff954ab5a5f5d0352"},{"author":{"_account_id":18179,"name":"Kaiyan Sheng","email":"kaiyan.sheng@hpe.com","username":"kaiyan-sheng"},"change_message_id":"e0d1d8814f68f442bf6075eeda2a268d981406d0","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        check_frequency \u003d int(config[\u0027check_freq\u0027])"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        # Initialize the auto-restarter"},{"line_number":98,"context_line":"        self.restart_interval \u003d int(config.get(\u0027restart_interval\u0027, RESTART_INTERVAL))"},{"line_number":99,"context_line":"        self.agent_start \u003d time.time()"},{"line_number":100,"context_line":"        total_collection_time \u003d 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"5a5ae5dd_09962993","line":97,"range":{"start_line":97,"start_character":8,"end_line":97,"end_character":39},"in_reply_to":"5a5ae5dd_e96aadb2","updated":"2016-02-05 03:27:15.000000000","message":"Yep you are right! I will change it to use the auto-restarter then! Thanks Joe!","commit_id":"cfc4fa786210e318f21d2b9ff954ab5a5f5d0352"}]}
