)]}'
{"tools/simulator.py":[{"author":{"_account_id":5638,"name":"Davanum Srinivas","email":"davanum@gmail.com","username":"dims-v"},"change_message_id":"82cc826714b10ab6aa98d9db7320d1a8db0391a7","unresolved":false,"context_lines":[{"line_number":36,"context_line":"RANDOM_VARIABLE \u003d None"},{"line_number":37,"context_line":"CURRENT_PID \u003d None"},{"line_number":38,"context_line":"RPC_CLIENTS \u003d []"},{"line_number":39,"context_line":"MESSAGES\u003d[]"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"USAGE \u003d \"\"\" Usage: ./simulator.py [-h] [--url URL] [-d DEBUG]\\"},{"line_number":42,"context_line":" {notify-server,notify-client,rpc-server,rpc-client} ..."}],"source_content_type":"text/x-python","patch_set":3,"id":"1a7b0d38_6345cab1","line":39,"updated":"2015-12-23 22:03:07.000000000","message":"need spaces around \u003d","commit_id":"d800f5fa1710745f9dc2b808b137d2b13286b3c6"},{"author":{"_account_id":7109,"name":"Dmitry Mescheryakov (dmitryme)","email":"dmescheryakov@mirantis.com","username":"dmitryme"},"change_message_id":"59af0b8f225cf02db9a3b238fc4e51295d8f8f38","unresolved":false,"context_lines":[{"line_number":212,"context_line":"              + \u0027 \u0027 + str(i)"},{"line_number":213,"context_line":"        MESSAGES.append(msg)"},{"line_number":214,"context_line":"        i +\u003d 1"},{"line_number":215,"context_line":"    LOG.info(\"Messages has been prepared\")"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"def rpc_server(transport, target, wait_before_answer, executor, show_stats):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a7b0d38_f0739513","line":215,"updated":"2015-12-25 10:37:18.000000000","message":"If user requests to send big number of messages, then MESSAGES array will grow proportionally. That will both increase start-up time and memory footprint.\n\nInstead we can limit length of MESSAGES size by number of lengths provided in messages.yaml and then return itertools.cycle over it so that the user will get number of messages she needs. If better randomness is desired, we can limit MESSAGES length to some multiple of number of lengthes (2, 4, ...?).","commit_id":"280e41efcf5bb36d38ebd61f63b07c712b2a5bb9"},{"author":{"_account_id":19334,"name":"Konstantin Kalin","email":"kkalin@mirantis.com","username":"KonstantinKalin"},"change_message_id":"a6832b7a0b41eef00f16f8fcded702a8e14097a9","unresolved":false,"context_lines":[{"line_number":212,"context_line":"              + \u0027 \u0027 + str(i)"},{"line_number":213,"context_line":"        MESSAGES.append(msg)"},{"line_number":214,"context_line":"        i +\u003d 1"},{"line_number":215,"context_line":"    LOG.info(\"Messages has been prepared\")"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"def rpc_server(transport, target, wait_before_answer, executor, show_stats):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1a7b0d38_e5ce432d","line":215,"in_reply_to":"1a7b0d38_f0739513","updated":"2015-12-28 16:08:12.000000000","message":"Done","commit_id":"280e41efcf5bb36d38ebd61f63b07c712b2a5bb9"}]}
