)]}'
{"neutron/common/utils.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"09f85fa46b14e619eb162b2312e15f0c87487b54","unresolved":false,"context_lines":[{"line_number":101,"context_line":"                        LOG.debug(\"Call of function %s scheduled, sleeping \""},{"line_number":102,"context_line":"                                  \"%.1f seconds\", fname, time_to_wait)"},{"line_number":103,"context_line":"                        # Decorated function has been called recently, wait."},{"line_number":104,"context_line":"                        eventlet.sleep(time_to_wait)"},{"line_number":105,"context_line":"                    lock_with_timer.timestamp \u003d time.time()"},{"line_number":106,"context_line":"                finally:"},{"line_number":107,"context_line":"                    lock_with_timer.release()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_c9ce43b3","line":104,"updated":"2017-10-06 19:08:06.000000000","message":"Guess we can change this to time.sleep() as a follow-on and remove the import of eventlet ?","commit_id":"6b5dda02a97cb8fbea5d753ed353e559f87fef75"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"3b8864604d45172f0152efb7456ffdcb0e3c07d8","unresolved":false,"context_lines":[{"line_number":674,"context_line":"    while end - start \u003c timeout:"},{"line_number":675,"context_line":"        if predicate():"},{"line_number":676,"context_line":"            return"},{"line_number":677,"context_line":"        time.sleep(sleep)"},{"line_number":678,"context_line":"        end \u003d time.time()"},{"line_number":679,"context_line":"    raise exception"},{"line_number":680,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5f4e5783_66ed7aee","line":677,"updated":"2017-10-11 09:24:41.000000000","message":"time.sleep is likely to be monkeypatched and you\u0027ll get eventlet.sleep here, IIUC.","commit_id":"6b5dda02a97cb8fbea5d753ed353e559f87fef75"},{"author":{"_account_id":9200,"name":"IWAMOTO Toshihiro","email":"iwamoto@valinux.co.jp","username":"toshii"},"change_message_id":"3a3c3130295bf16481e3b1234644ac98ffe37729","unresolved":false,"context_lines":[{"line_number":674,"context_line":"    while end - start \u003c timeout:"},{"line_number":675,"context_line":"        if predicate():"},{"line_number":676,"context_line":"            return"},{"line_number":677,"context_line":"        time.sleep(sleep)"},{"line_number":678,"context_line":"        end \u003d time.time()"},{"line_number":679,"context_line":"    raise exception"},{"line_number":680,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f4b6375_7a3f0125","line":677,"in_reply_to":"5f4e5783_26942237","updated":"2017-11-02 05:09:32.000000000","message":"eventlet switching can be still problematic but avoiding exceptions from oslo_rootwrap.client.execute is good,\nas such an exception will trigger a RWD restart.","commit_id":"6b5dda02a97cb8fbea5d753ed353e559f87fef75"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"ac2a400bf282839e85a1f22c995aa1397e3aef18","unresolved":false,"context_lines":[{"line_number":674,"context_line":"    while end - start \u003c timeout:"},{"line_number":675,"context_line":"        if predicate():"},{"line_number":676,"context_line":"            return"},{"line_number":677,"context_line":"        time.sleep(sleep)"},{"line_number":678,"context_line":"        end \u003d time.time()"},{"line_number":679,"context_line":"    raise exception"},{"line_number":680,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5f4e5783_26942237","line":677,"in_reply_to":"5f4e5783_66ed7aee","updated":"2017-10-11 09:28:14.000000000","message":"The problematic part was the Timeout exception raised before finishing reading from rootwrap daemon socket. As long as the exception doesn\u0027t happen in predicate(), it should be safe.","commit_id":"6b5dda02a97cb8fbea5d753ed353e559f87fef75"}]}
