)]}'
{"futurist/periodics.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"63ac90ca03dbf9a0db2ac8f2081382f5ead547f9","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        Only picks up methods that have been tagged/decorated with"},{"line_number":125,"context_line":"        the :py:func:`.periodic` decorator (does not match against private"},{"line_number":126,"context_line":"        or protected methods unless explicitly requested to)."},{"line_number":127,"context_line":"        \"\"\""},{"line_number":128,"context_line":"        callables \u003d []"},{"line_number":129,"context_line":"        for obj in objects:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_62382fa1","line":126,"updated":"2015-06-08 07:40:56.000000000","message":"as in previous patch: needs :param:","commit_id":"db15613b29f03e72d8b45ab82fb07d5b5f431553"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"92250b9e53546cf4c33a7e585cb5c4ea91061b3b","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"        Only picks up methods that have been tagged/decorated with"},{"line_number":125,"context_line":"        the :py:func:`.periodic` decorator (does not match against private"},{"line_number":126,"context_line":"        or protected methods unless explicitly requested to)."},{"line_number":127,"context_line":"        \"\"\""},{"line_number":128,"context_line":"        callables \u003d []"},{"line_number":129,"context_line":"        for obj in objects:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_06fe0f37","line":126,"in_reply_to":"3afb71cf_62382fa1","updated":"2015-06-08 19:49:49.000000000","message":"Done","commit_id":"db15613b29f03e72d8b45ab82fb07d5b5f431553"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"63ac90ca03dbf9a0db2ac8f2081382f5ead547f9","unresolved":false,"context_lines":[{"line_number":165,"context_line":"        def _on_done(kind, cb, index, fut, now\u003dNone):"},{"line_number":166,"context_line":"            exc \u003d fut.exception()"},{"line_number":167,"context_line":"            if exc is not None:"},{"line_number":168,"context_line":"                self._log.warn(\"%s call into \u0027%r\u0027 failed due to\""},{"line_number":169,"context_line":"                               \" exception: %s\", kind.title(), cb, exc)"},{"line_number":170,"context_line":"            with self._waiter:"},{"line_number":171,"context_line":"                self._schedule.push_next(cb, index, now\u003dnow)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_423bf39c","line":168,"updated":"2015-06-08 07:40:56.000000000","message":"As in the previous patch, I disagree it\u0027s a warning","commit_id":"db15613b29f03e72d8b45ab82fb07d5b5f431553"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"92250b9e53546cf4c33a7e585cb5c4ea91061b3b","unresolved":false,"context_lines":[{"line_number":165,"context_line":"        def _on_done(kind, cb, index, fut, now\u003dNone):"},{"line_number":166,"context_line":"            exc \u003d fut.exception()"},{"line_number":167,"context_line":"            if exc is not None:"},{"line_number":168,"context_line":"                self._log.warn(\"%s call into \u0027%r\u0027 failed due to\""},{"line_number":169,"context_line":"                               \" exception: %s\", kind.title(), cb, exc)"},{"line_number":170,"context_line":"            with self._waiter:"},{"line_number":171,"context_line":"                self._schedule.push_next(cb, index, now\u003dnow)"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_e6f8934b","line":168,"in_reply_to":"3afb71cf_423bf39c","updated":"2015-06-08 19:49:49.000000000","message":"Done","commit_id":"db15613b29f03e72d8b45ab82fb07d5b5f431553"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"63ac90ca03dbf9a0db2ac8f2081382f5ead547f9","unresolved":false,"context_lines":[{"line_number":211,"context_line":"                        # Note that we are providing the time that it started"},{"line_number":212,"context_line":"                        # at, so this implies that the rescheduling time will"},{"line_number":213,"context_line":"                        # *not* take into account how long it took to actually"},{"line_number":214,"context_line":"                        # run the callback... (for better or worse)."},{"line_number":215,"context_line":"                        fut.add_done_callback(functools.partial(_on_done,"},{"line_number":216,"context_line":"                                                                \u0027periodic\u0027,"},{"line_number":217,"context_line":"                                                                cb, index,"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_22423711","line":214,"updated":"2015-06-08 07:40:56.000000000","message":"What I guess we need for Ironic is to make sure that 2 instances of one task are never run in parallel. It seems like this code guarantees it, just confirming: is it the case?","commit_id":"db15613b29f03e72d8b45ab82fb07d5b5f431553"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"7fe459aa749fca873e3a82199484eff6f8821c73","unresolved":false,"context_lines":[{"line_number":211,"context_line":"                        # Note that we are providing the time that it started"},{"line_number":212,"context_line":"                        # at, so this implies that the rescheduling time will"},{"line_number":213,"context_line":"                        # *not* take into account how long it took to actually"},{"line_number":214,"context_line":"                        # run the callback... (for better or worse)."},{"line_number":215,"context_line":"                        fut.add_done_callback(functools.partial(_on_done,"},{"line_number":216,"context_line":"                                                                \u0027periodic\u0027,"},{"line_number":217,"context_line":"                                                                cb, index,"}],"source_content_type":"text/x-python","patch_set":3,"id":"3afb71cf_73d58eb7","line":214,"in_reply_to":"3afb71cf_22423711","updated":"2015-06-08 15:40:18.000000000","message":"yup, the task/callback will not run again at the same time, the task/cb is taken off the schedule \u0027heap\u0027 and will not be put back on until this done callback is called, so it can\u0027t be possible to run 2 at the same time (unless duplicated callbacks are provided, then all bets are off).","commit_id":"db15613b29f03e72d8b45ab82fb07d5b5f431553"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ae52aa018d954c407d1a8243ef617d245913a09b","unresolved":false,"context_lines":[{"line_number":234,"context_line":"            except Exception:"},{"line_number":235,"context_line":"                how_often \u003d cb._periodic_spacing"},{"line_number":236,"context_line":"                self._log.exception(\"Failed to call %s \u0027%r\u0027 (it runs every\""},{"line_number":237,"context_line":"                                    \" %0.2f seconds)\", kind, cb, how_often)"},{"line_number":238,"context_line":"            finally:"},{"line_number":239,"context_line":"                with self._waiter:"},{"line_number":240,"context_line":"                    self._schedule.push_next(cb, index, now\u003dnow)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3afb71cf_91e77eab","line":237,"updated":"2015-06-10 12:29:56.000000000","message":"see nit on the previous patch about using %(kind)s and alike","commit_id":"c38040924d04cd6eef965eb7a406c3351f774523"},{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"e85c3a0f10933aed96a4a610a48b9944a9fc1b25","unresolved":false,"context_lines":[{"line_number":234,"context_line":"            except Exception:"},{"line_number":235,"context_line":"                how_often \u003d cb._periodic_spacing"},{"line_number":236,"context_line":"                self._log.exception(\"Failed to call %s \u0027%r\u0027 (it runs every\""},{"line_number":237,"context_line":"                                    \" %0.2f seconds)\", kind, cb, how_often)"},{"line_number":238,"context_line":"            finally:"},{"line_number":239,"context_line":"                with self._waiter:"},{"line_number":240,"context_line":"                    self._schedule.push_next(cb, index, now\u003dnow)"}],"source_content_type":"text/x-python","patch_set":4,"id":"3afb71cf_c818a4d5","line":237,"in_reply_to":"3afb71cf_91e77eab","updated":"2015-06-10 14:59:39.000000000","message":"i got used to this style a long time ago, so idk, we aren\u0027t translating these so i\u0027m not sure it matters to much :-P","commit_id":"c38040924d04cd6eef965eb7a406c3351f774523"}]}
