)]}'
{"dragonflow/db/db_consistent.py":[{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"5ae070f3e43c5216aa563b31ab66d80d2c8816c9","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def run(self):"},{"line_number":74,"context_line":"        time.sleep(self.db_sync_time)"},{"line_number":75,"context_line":"        while not self._event.is_set():"},{"line_number":76,"context_line":"            self.nb_api.db_change_callback(None, None, \"db_sync\", \"db_sync\")"},{"line_number":77,"context_line":"            LOG.debug(\"Enter db consistent processing\")"},{"line_number":78,"context_line":"            self._event.wait(self.db_sync_time)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def daemonize(self):"},{"line_number":81,"context_line":"        return self._daemon.start()"}],"source_content_type":"text/x-python","patch_set":2,"id":"da36d5c6_6269e1f8","line":78,"range":{"start_line":75,"start_character":0,"end_line":78,"end_character":47},"updated":"2017-02-25 02:51:28.000000000","message":"For the use case like this, can we use oslo_service.loopingcall.FixedIntervalLoopingCall","commit_id":"1626ec34062c5be1944c0bd461c4ed1dabfe0ef7"},{"author":{"_account_id":20229,"name":"Omer Anson","email":"omer.anson@toganetworks.com","username":"oanson"},"change_message_id":"ad6b03c4bc3355820200eefc9ac944de355445fc","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    def run(self):"},{"line_number":74,"context_line":"        time.sleep(self.db_sync_time)"},{"line_number":75,"context_line":"        while not self._event.is_set():"},{"line_number":76,"context_line":"            self.nb_api.db_change_callback(None, None, \"db_sync\", \"db_sync\")"},{"line_number":77,"context_line":"            LOG.debug(\"Enter db consistent processing\")"},{"line_number":78,"context_line":"            self._event.wait(self.db_sync_time)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"    def daemonize(self):"},{"line_number":81,"context_line":"        return self._daemon.start()"}],"source_content_type":"text/x-python","patch_set":2,"id":"da36d5c6_cb3d05bd","line":78,"range":{"start_line":75,"start_character":0,"end_line":78,"end_character":47},"in_reply_to":"da36d5c6_6269e1f8","updated":"2017-02-28 07:49:33.000000000","message":"I\u0027ll verify that it can be stopped. If so, it would definitely be better than this. Thanks.","commit_id":"1626ec34062c5be1944c0bd461c4ed1dabfe0ef7"}]}
