)]}'
{"zuul/scheduler.py":[{"author":{"_account_id":16068,"name":"Tobias Henkel","email":"tobias.henkel@bmw.de","username":"tobias.henkel"},"change_message_id":"660e0414c66b33159e78cb8938f78e1e6f30a3a5","unresolved":false,"context_lines":[{"line_number":690,"context_line":"        self.config \u003d event.config"},{"line_number":691,"context_line":"        try:"},{"line_number":692,"context_line":"            self.log.info(\"Full reconfiguration beginning\")"},{"line_number":693,"context_line":"            start \u003d datetime.now()"},{"line_number":694,"context_line":""},{"line_number":695,"context_line":"            # Reload the ansible manager in case the default ansible version"},{"line_number":696,"context_line":"            # changed."}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_b0dc7fe4","line":693,"updated":"2019-07-15 08:19:17.000000000","message":"We should use time.monotonic [1] which gives us a float in seconds.\nThis makes it much easier to calculate the duration and also handles jumps of the system time fine.\n\n[1] https://docs.python.org/3/library/time.html#time.monotonic","commit_id":"f10691bd3b9d9801d1eb289ed4be27a43a254b19"},{"author":{"_account_id":16068,"name":"Tobias Henkel","email":"tobias.henkel@bmw.de","username":"tobias.henkel"},"change_message_id":"f24746c54c1c971fec75464e75c89d27dc518c21","unresolved":false,"context_lines":[{"line_number":718,"context_line":""},{"line_number":719,"context_line":"        duration \u003d round(time.monotonic() - start, 3)"},{"line_number":720,"context_line":"        self.log.info(\"Full reconfiguration complete (duration: %s seconds)\","},{"line_number":721,"context_line":"                      str(duration))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"    def _doTenantReconfigureEvent(self, event):"},{"line_number":724,"context_line":"        # This is called in the scheduler loop after another thread submits"}],"source_content_type":"text/x-python","patch_set":2,"id":"7faddb67_5ab8c9e3","line":721,"range":{"start_line":721,"start_character":22,"end_line":721,"end_character":35},"updated":"2019-07-15 09:01:47.000000000","message":"nit: explicit conversion to str is not really needed here.","commit_id":"8e57079dc3a162b14cfbd5a4bf4a865c906de6db"}]}
