)]}'
{"etc/object-server.conf-sample":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"733aa02965bf88c3ccd81d7735db8ca688930552","unresolved":false,"context_lines":[{"line_number":134,"context_line":"# compute the total number of IO threads on a node, you must multiply"},{"line_number":135,"context_line":"# this by the number of object-server processes on the node."},{"line_number":136,"context_line":"#"},{"line_number":137,"context_line":"# eventlet_tpool_num_threads \u003d"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"# Configure parameter for creating specific server"},{"line_number":140,"context_line":"# To handle all verbs, including replication verbs, do not specify"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"9a629dbe_ff48ce5d","line":137,"updated":"2016-11-08 01:44:51.000000000","message":"there\u0027s some other places where we have to document stuff like this and we use a default value of \"auto\" to explicitly describe the situation where we want the system to handle choosing the value.","commit_id":"1e052468aece7c2d2348da6c5c49bf74520fe0d1"}],"swift/obj/server.py":[{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"733aa02965bf88c3ccd81d7735db8ca688930552","unresolved":false,"context_lines":[{"line_number":223,"context_line":"            # If we\u0027re not using servers-per-port, then leave the tpool size"},{"line_number":224,"context_line":"            # alone. The default (20) is typically good enough for one"},{"line_number":225,"context_line":"            # object server handling requests for many disks."},{"line_number":226,"context_line":"            pass"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    def get_diskfile(self, device, partition, account, container, obj,"},{"line_number":229,"context_line":"                     policy, **kwargs):"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_1c9590e3","line":226,"updated":"2016-11-08 01:44:51.000000000","message":"https://github.com/openstack/swift/blob/78527aaf7a900bfbb8c8a88e7e84d79257e37f5c/swift/common/utils.py#L350\n\n    if servers_per_port:\n        default_num_threads \u003d 1\n    else:\n        default_num_threads \u003d None\n\n    num_threads \u003d config_auto_int_value(\n        conf.get(\u0027eventlet_tpool_num_threads\u0027),\n        default_num_threads)\n\n    if num_threads is not None:\n        tpool.set_num_threads(explicit_tpool_size)\n\n\n^ or something like that would be more clear to me only because I know how config_auto_int_value works?  I think it would mostly work with your existing tests.\n\nIt also helps with documentation because you can describe the explicit default value of `auto` as having the behavior of \"1 or do nothing\"","commit_id":"1e052468aece7c2d2348da6c5c49bf74520fe0d1"}]}
