)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"47f2a8228f99003323eee6914a062c2d769fe2d7","unresolved":false,"context_lines":[{"line_number":9,"context_line":"The current default for api_workers is 0.  This patch changes it to"},{"line_number":10,"context_line":"use the number of CPUs available, which is the default that will"},{"line_number":11,"context_line":"provide best performance.  This is consistent with some other"},{"line_number":12,"context_line":"OpenStack service (Nova and Swift, at least, perhaps others)."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Note that devstack is updated in another patch to ensure multiple API"},{"line_number":15,"context_line":"workers is being tested for Neutron the same way it\u0027s tested for"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"9a80dd14_e0021a08","line":12,"updated":"2015-03-12 14:07:31.000000000","message":"Will this affect upgrades? That is, say one is running a controller which has a lot of services running. When they upgrade to this version they will have more process running.\n\nIn addition to this does this have locking implications? That is, if the neutron service uses locks for say a router update will this nee to have an \u0027external\u0027 flag set?","commit_id":"1f8f368a19ef211292c04a16395081a3a5911bac"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"47f2a8228f99003323eee6914a062c2d769fe2d7","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    https://review.openstack.org/140482"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Co-Authored-By: Eugene Nikanorov \u003cenikanorov@mirantis.com\u003e"},{"line_number":21,"context_line":"DocImpact"},{"line_number":22,"context_line":"Change-Id: I4d76baf68b014fc80693f53874734783089abda2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"9a80dd14_a0182276","line":21,"updated":"2015-03-12 14:07:31.000000000","message":"Please add an UpgradeImpact flag here","commit_id":"1f8f368a19ef211292c04a16395081a3a5911bac"}],"etc/neutron.conf":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"7e6fb766b4b4abbbd16c3713f511284aeffe92f8","unresolved":false,"context_lines":[{"line_number":192,"context_line":"# Number of separate worker processes to spawn.  A value of 0 runs the"},{"line_number":193,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"},{"line_number":194,"context_line":"# child processes as workers.  The parent process manages them.  The default"},{"line_number":195,"context_line":"# value is equal to the number of CPUs available to achieve best performance."},{"line_number":196,"context_line":"# api_workers \u003d 0"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# Number of separate RPC worker processes to spawn.  The default, 0, runs the"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_c072997b","line":195,"updated":"2014-12-09 22:23:47.000000000","message":"The text you added to the conf file is a little clearer -  \"If not specified, the default is equal to the number of CPUs available for best performance\" - the \"If not specified\" part being the key.","commit_id":"fc4970254e45b4ddbd2f6d2409aa5c3e3e25b594"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"ddc6c5be2300c45458d68ed930a2d5585e112659","unresolved":false,"context_lines":[{"line_number":192,"context_line":"# Number of separate worker processes to spawn.  A value of 0 runs the"},{"line_number":193,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"},{"line_number":194,"context_line":"# child processes as workers.  The parent process manages them.  The default"},{"line_number":195,"context_line":"# value is equal to the number of CPUs available to achieve best performance."},{"line_number":196,"context_line":"# api_workers \u003d 0"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# Number of separate RPC worker processes to spawn.  The default, 0, runs the"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_c07c5923","line":195,"in_reply_to":"3a961159_c072997b","updated":"2014-12-09 22:28:28.000000000","message":"OK","commit_id":"fc4970254e45b4ddbd2f6d2409aa5c3e3e25b594"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"7f4dcd1667ba90e40077a95db83cb5c509d43682","unresolved":false,"context_lines":[{"line_number":193,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"},{"line_number":194,"context_line":"# child processes as workers.  The parent process manages them.  The default"},{"line_number":195,"context_line":"# value is equal to the number of CPUs available to achieve best performance."},{"line_number":196,"context_line":"# api_workers \u003d 0"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# Number of separate RPC worker processes to spawn.  The default, 0, runs the"},{"line_number":199,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_e0f4f5d0","line":196,"updated":"2014-12-09 22:25:06.000000000","message":"nit: maybe api_workers \u003d \u003cnumber of CPUs\u003e ?","commit_id":"fc4970254e45b4ddbd2f6d2409aa5c3e3e25b594"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"ddc6c5be2300c45458d68ed930a2d5585e112659","unresolved":false,"context_lines":[{"line_number":193,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"},{"line_number":194,"context_line":"# child processes as workers.  The parent process manages them.  The default"},{"line_number":195,"context_line":"# value is equal to the number of CPUs available to achieve best performance."},{"line_number":196,"context_line":"# api_workers \u003d 0"},{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# Number of separate RPC worker processes to spawn.  The default, 0, runs the"},{"line_number":199,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_40894925","line":196,"in_reply_to":"3a961159_e0f4f5d0","updated":"2014-12-09 22:28:28.000000000","message":"nice idea, will do","commit_id":"fc4970254e45b4ddbd2f6d2409aa5c3e3e25b594"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"8d1bbf8c22d56b582f4de5ab82d422f61da3b320","unresolved":false,"context_lines":[{"line_number":201,"context_line":"# child processes as workers.  The parent process manages them.  If not"},{"line_number":202,"context_line":"# specified, the default value is equal to the number of CPUs available to"},{"line_number":203,"context_line":"# achieve best performance."},{"line_number":204,"context_line":"# api_workers \u003d \u003cnumber of CPUs\u003e"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"# Number of separate RPC worker processes to spawn.  The default, 0, runs the"},{"line_number":207,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"}],"source_content_type":"text/plain","patch_set":10,"id":"fa81d914_149ceebf","line":204,"updated":"2015-01-29 05:47:43.000000000","message":"I hope this isn\u0027t a dumb question but how many CPUs do the dsvm tests run with in the check queue?  I\u0027d like to know for sure how many workers we\u0027re testing with.","commit_id":"d17e47b749119a7317d88c5c5aaad11f10eafae4"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"6bf1887b332235273237d17bf6a831ff5f3661a0","unresolved":false,"context_lines":[{"line_number":201,"context_line":"# child processes as workers.  The parent process manages them.  If not"},{"line_number":202,"context_line":"# specified, the default value is equal to the number of CPUs available to"},{"line_number":203,"context_line":"# achieve best performance."},{"line_number":204,"context_line":"# api_workers \u003d \u003cnumber of CPUs\u003e"},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"# Number of separate RPC worker processes to spawn.  The default, 0, runs the"},{"line_number":207,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"}],"source_content_type":"text/plain","patch_set":10,"id":"da86d52c_e28ce881","line":204,"in_reply_to":"fa81d914_149ceebf","updated":"2015-02-03 13:09:21.000000000","message":"it\u0027s 4 or 8 according to which provider is used for upstream tests","commit_id":"d17e47b749119a7317d88c5c5aaad11f10eafae4"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"47f2a8228f99003323eee6914a062c2d769fe2d7","unresolved":false,"context_lines":[{"line_number":206,"context_line":"# child processes as workers.  The parent process manages them.  If not"},{"line_number":207,"context_line":"# specified, the default value is equal to the number of CPUs available to"},{"line_number":208,"context_line":"# achieve best performance."},{"line_number":209,"context_line":"# api_workers \u003d \u003cnumber of CPUs\u003e"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"# Number of separate RPC worker processes to spawn.  The default, 0, runs the"},{"line_number":212,"context_line":"# worker thread in the current process.  Greater than 0 launches that number of"}],"source_content_type":"text/plain","patch_set":14,"id":"9a80dd14_8034fede","line":209,"updated":"2015-03-12 14:07:31.000000000","message":"I think that the upgradeImpact flag will make people aware of this","commit_id":"1f8f368a19ef211292c04a16395081a3a5911bac"}],"neutron/service.py":[{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"4ec5aef78f579351c2acd6353c9816b4ea04e56e","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        return"},{"line_number":181,"context_line":"    server \u003d wsgi.Server(\"Neutron\")"},{"line_number":182,"context_line":"    server.start(app, cfg.CONF.bind_port, cfg.CONF.bind_host,"},{"line_number":183,"context_line":"                 workers\u003d_get_api_workers())"},{"line_number":184,"context_line":"    # Dump all option values here after all options are parsed"},{"line_number":185,"context_line":"    cfg.CONF.log_opt_values(LOG, std_logging.DEBUG)"},{"line_number":186,"context_line":"    LOG.info(_(\"Neutron service started, listening on %(host)s:%(port)s\"),"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_a02aed29","line":183,"updated":"2014-12-09 22:25:06.000000000","message":"A minimum of 2 would help unmask parallelization bugs that will crop up, given that most use devstack on single CPU VMs.","commit_id":"fc4970254e45b4ddbd2f6d2409aa5c3e3e25b594"},{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"ddc6c5be2300c45458d68ed930a2d5585e112659","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        return"},{"line_number":181,"context_line":"    server \u003d wsgi.Server(\"Neutron\")"},{"line_number":182,"context_line":"    server.start(app, cfg.CONF.bind_port, cfg.CONF.bind_host,"},{"line_number":183,"context_line":"                 workers\u003d_get_api_workers())"},{"line_number":184,"context_line":"    # Dump all option values here after all options are parsed"},{"line_number":185,"context_line":"    cfg.CONF.log_opt_values(LOG, std_logging.DEBUG)"},{"line_number":186,"context_line":"    LOG.info(_(\"Neutron service started, listening on %(host)s:%(port)s\"),"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_e0c5d53d","line":183,"in_reply_to":"3a961159_a02aed29","updated":"2014-12-09 22:28:28.000000000","message":"For testing purposes, I agree.  That\u0027s handled by this devstack patch, though.  In devstack, $API_WORKERS is always at least 2.  https://review.openstack.org/#/c/140482/","commit_id":"fc4970254e45b4ddbd2f6d2409aa5c3e3e25b594"},{"author":{"_account_id":10980,"name":"Doug Wiegley","email":"dougwig@parkside.io","username":"dougw"},"change_message_id":"0a44755cedbe31182fa73caacfb306151f60d7b4","unresolved":false,"context_lines":[{"line_number":180,"context_line":"        return"},{"line_number":181,"context_line":"    server \u003d wsgi.Server(\"Neutron\")"},{"line_number":182,"context_line":"    server.start(app, cfg.CONF.bind_port, cfg.CONF.bind_host,"},{"line_number":183,"context_line":"                 workers\u003d_get_api_workers())"},{"line_number":184,"context_line":"    # Dump all option values here after all options are parsed"},{"line_number":185,"context_line":"    cfg.CONF.log_opt_values(LOG, std_logging.DEBUG)"},{"line_number":186,"context_line":"    LOG.info(_(\"Neutron service started, listening on %(host)s:%(port)s\"),"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a961159_8036d150","line":183,"in_reply_to":"3a961159_e0c5d53d","updated":"2014-12-09 22:31:42.000000000","message":"Works for me, thanks.","commit_id":"fc4970254e45b4ddbd2f6d2409aa5c3e3e25b594"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"761f51e25bd572b0d6c95ff8cc10a93442c14286","unresolved":false,"context_lines":[{"line_number":170,"context_line":"def _get_api_workers():"},{"line_number":171,"context_line":"    workers \u003d cfg.CONF.api_workers"},{"line_number":172,"context_line":"    if workers is None:"},{"line_number":173,"context_line":"        workers \u003d processutils.get_worker_count()"},{"line_number":174,"context_line":"    return workers"},{"line_number":175,"context_line":""},{"line_number":176,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_515cb27d","line":173,"updated":"2015-01-13 19:40:44.000000000","message":"you can set option default value to processutils.get_worker_count() in L43-L46","commit_id":"4bbb24134d35e98f27172b36db2b40e342d7bbf2"}],"neutron/tests/functional/test_service.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"761f51e25bd572b0d6c95ff8cc10a93442c14286","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"class TestService(base.BaseTestCase):"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    def test_api_workers_default(self):"},{"line_number":25,"context_line":"        self.assertEqual(processutils.get_worker_count(),"},{"line_number":26,"context_line":"                         service._get_api_workers())"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_11c94a25","line":24,"updated":"2015-01-13 19:40:44.000000000","message":"I could be tested using unit tests","commit_id":"4bbb24134d35e98f27172b36db2b40e342d7bbf2"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"b486827ac19cd9f417c2e5beed0150b3deb4957d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 Red Hat, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_1904777d","line":1,"updated":"2015-01-27 20:42:04.000000000","message":"2015","commit_id":"d17e47b749119a7317d88c5c5aaad11f10eafae4"},{"author":{"_account_id":9423,"name":"Roey Chen","email":"roeyc@vmware.com","username":"roeyc"},"change_message_id":"2345a56ce0580c42d6bbbe5ffdb7b2676f647f66","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 Red Hat, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":14,"id":"9a80dd14_df46df4e","line":1,"updated":"2015-03-12 09:56:32.000000000","message":"2015","commit_id":"1f8f368a19ef211292c04a16395081a3a5911bac"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"59ecaaa79f3d5bec5e82d3a132fb4b795248bc37","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 Red Hat, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":15,"id":"9a80dd14_e3bf845e","line":1,"updated":"2015-03-12 14:35:57.000000000","message":"May be you can change it to 2015","commit_id":"5043e8fa7218ba8639fae4b0d59abecd9e65c75d"}],"neutron/tests/unit/test_service.py":[{"author":{"_account_id":2035,"name":"Maru Newby","email":"marun@redhat.com","username":"maru"},"change_message_id":"e4dae1abec12c7aecbb80fb141ba018ee329cc57","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"class TestService(base.BaseTestCase):"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"    def test_api_workers_default(self):"},{"line_number":25,"context_line":"        self.assertEqual(processutils.get_worker_count(),"},{"line_number":26,"context_line":"                         service._get_api_workers())"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_fd581e58","line":24,"updated":"2014-12-09 22:15:00.000000000","message":"This test interacts with the underlying system, and belongs in the functional test tree (e.g. neutron/tests/functional/test_service)","commit_id":"d6e7d5ae3162635184070820a7d42d69ee6cf736"}]}
