)]}'
{"zaqar/common/configs.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"2df90b676baa554f4ea4efdc57ec37a9154ee747","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    cfg.StrOpt(\u0027smtp_command\u0027, default\u003d\u0027/usr/sbin/sendmail -t -oi\u0027,"},{"line_number":59,"context_line":"               help\u003d(\u0027The command of smtp to send email. The format is \u0027"},{"line_number":60,"context_line":"                     \u0027\"command_name arg1 arg2\".\u0027)),"},{"line_number":61,"context_line":"    cfg.IntOpt(\u0027max_workers\u0027, default\u003d10,"},{"line_number":62,"context_line":"               help\u003d\u0027The max number for the notification works.\u0027)"},{"line_number":63,"context_line":")"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"bab6814e_3cd221d3","line":61,"updated":"2016-05-19 03:13:19.000000000","message":"should we have a better name like \u0027max_notifier_workers\u0027 or \u0027max_notification_workers\u0027?\n\nAnd the help message should be \u0027The max number for the notification workers\u0027","commit_id":"1293d95f7ab1eb7500d4e8bcc7af5da76bf975dc"},{"author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"change_message_id":"461fa9ad3979f7a63df99156d9dbf77ce6010433","unresolved":false,"context_lines":[{"line_number":59,"context_line":"               help\u003d(\u0027The command of smtp to send email. The format is \u0027"},{"line_number":60,"context_line":"                     \u0027\"command_name arg1 arg2\".\u0027)),"},{"line_number":61,"context_line":"    cfg.IntOpt(\u0027max_notifier_workers\u0027, default\u003d10,"},{"line_number":62,"context_line":"               help\u003d\u0027The max number for the notification workers.\u0027)"},{"line_number":63,"context_line":")"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"_NOTIFICATION_GROUP \u003d \u0027notification\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"7aa08908_bdeefd88","line":62,"range":{"start_line":62,"start_character":29,"end_line":62,"end_character":39},"updated":"2016-06-06 23:17:03.000000000","message":"s/number for/amount of","commit_id":"469d9b000d4cea35bab023885a9042ac746ab11d"}],"zaqar/notification/notifier.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"dba127a1cd8172d1ef9af26799c90454560a602d","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    def __init__(self, *args, **kwargs):"},{"line_number":34,"context_line":"        self.subscription_controller \u003d kwargs.get(\u0027subscription_controller\u0027)"},{"line_number":35,"context_line":"        # Make the max_workers configurable, default value is 10"},{"line_number":36,"context_line":"        max_workers \u003d kwargs.get(\u0027max_workers\u0027, 10)"},{"line_number":37,"context_line":"        self.executor \u003d futurist.ThreadPoolExecutor(max_workers\u003dmax_workers)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def post(self, queue_name, messages, client_uuid, project\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_039bda18","line":36,"updated":"2016-04-20 22:38:14.000000000","message":"Hmm... That\u0027s not my initial goal. I was thinking adding a config in zaqar.conf instead of getting the number from key parameters.\n\nBased on your current way, I don\u0027t think it\u0027s easy to pass in the number, unless I missed something. Would you mind explaining it a bit? Thanks.","commit_id":"346fe18f173cd464917198610c4719bdfd98c5e3"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"2170d2c7439db1fcad44901e0833a4df3957c44f","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    def __init__(self, *args, **kwargs):"},{"line_number":34,"context_line":"        self.subscription_controller \u003d kwargs.get(\u0027subscription_controller\u0027)"},{"line_number":35,"context_line":"        # Make the max_workers configurable, default value is 10"},{"line_number":36,"context_line":"        max_workers \u003d kwargs.get(\u0027max_workers\u0027, 10)"},{"line_number":37,"context_line":"        self.executor \u003d futurist.ThreadPoolExecutor(max_workers\u003dmax_workers)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def post(self, queue_name, messages, client_uuid, project\u003dNone):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a122d0e_fb9d9ebc","line":36,"in_reply_to":"1a122d0e_039bda18","updated":"2016-04-21 01:21:47.000000000","message":"Like Feilong said, you should add a new config and then pass the config value from: https://github.com/openstack/zaqar/blob/master/zaqar/storage/pipeline.py#L74-L78\n\nAnd notifier is now used by message by default: message_pipeline","commit_id":"346fe18f173cd464917198610c4719bdfd98c5e3"},{"author":{"_account_id":18683,"name":"Eva Balycheva","email":"ubershy@gmail.com","username":"eva"},"change_message_id":"461fa9ad3979f7a63df99156d9dbf77ce6010433","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    def __init__(self, *args, **kwargs):"},{"line_number":34,"context_line":"        self.subscription_controller \u003d kwargs.get(\u0027subscription_controller\u0027)"},{"line_number":35,"context_line":"        # Make the max_workers configurable, default value is 10"},{"line_number":36,"context_line":"        max_workers \u003d kwargs.get(\u0027max_notifier_workers\u0027, 10)"},{"line_number":37,"context_line":"        self.executor \u003d futurist.ThreadPoolExecutor(max_workers\u003dmax_workers)"},{"line_number":38,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"7aa08908_ddd4a9be","line":35,"range":{"start_line":35,"start_character":0,"end_line":35,"end_character":64},"updated":"2016-06-06 23:17:03.000000000","message":"I don\u0027t think we need this line.","commit_id":"469d9b000d4cea35bab023885a9042ac746ab11d"}]}
