)]}'
{"swift/obj/server.py":[{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"789519f9e5a4e32ab6a6dda6bbe46fd010a72c41","unresolved":false,"context_lines":[{"line_number":19,"context_line":"import cPickle as pickle"},{"line_number":20,"context_line":"import os"},{"line_number":21,"context_line":"import time"},{"line_number":22,"context_line":"import socket"},{"line_number":23,"context_line":"import traceback"},{"line_number":24,"context_line":"from collections import defaultdict"},{"line_number":25,"context_line":"from datetime import datetime"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2Fenw%3D","line":22,"updated":"2013-10-15 18:32:03.000000000","message":"You do not sort imports lexicographically, I get that much. But what is your order, then? By len(name)?","commit_id":"66e0bfa0b5ae22bec4a6a287a82403779fe01a8b"},{"author":{"_account_id":597,"name":"Pete Zaitcev","email":"zaitcev@kotori.zaitcev.us","username":"zaitcev"},"change_message_id":"789519f9e5a4e32ab6a6dda6bbe46fd010a72c41","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        # disk_chunk_size parameter. However, it affects all created sockets"},{"line_number":120,"context_line":"        # using this class so we have chosen to tie it to the"},{"line_number":121,"context_line":"        # network_chunk_size parameter value instead."},{"line_number":122,"context_line":"        socket._fileobject.default_bufsize \u003d self.network_chunk_size"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def _diskfile(self, device, partition, account, container, obj, **kwargs):"},{"line_number":125,"context_line":"        \"\"\"Utility method for instantiating a DiskFile.\"\"\""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAATH%2F%2FekQ%3D","line":122,"updated":"2013-10-15 18:32:03.000000000","message":"I cannot believe there\u0027s no better way to tell eventlet which bufsize to use.\n\nOne way may be go into swift/common/wsgi.py and pass protocol to wsgi.server (it\u0027s marked deprecated but never mind). Protocol inherits from BaseHTTPServer.BaseHTTPRequestHandler and you can set a class variable wbufsize in there. Even going through that deprecated hook seems preferable to monkey-patching something as fundamental as socket.\n\nOr let me know why I\u0027m wrong.","commit_id":"66e0bfa0b5ae22bec4a6a287a82403779fe01a8b"}]}
