)]}'
{"ceilometer/storage/impl_db2.py":[{"author":{"_account_id":4491,"name":"Lianhao Lu","email":"llh_misc@outlook.com","username":"lianhao-lu"},"change_message_id":"0a4925e6a2469ce3bdd4cdacff958deeebd0cd06","unresolved":false,"context_lines":[{"line_number":147,"context_line":"        if url_parsed.path.startswith(\u0027/ceilometer_for_tox_testing_\u0027):"},{"line_number":148,"context_line":"            #note(sileht): this is a workaround for running tests without reach"},{"line_number":149,"context_line":"            #the maximum allowed connection of mongod in gate"},{"line_number":150,"context_line":"            #this only work with pymongo \u003e\u003d 2.6, this is not in the"},{"line_number":151,"context_line":"            #requirements file because is not needed for normal use of mongo"},{"line_number":152,"context_line":"            client \u003d pymongo.MongoClient(url, safe\u003dTrue, max_pool_size\u003dNone)"},{"line_number":153,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAASn%2F%2FZjo%3D","line":150,"updated":"2013-09-05 06:38:12.000000000","message":"if so, how about we add pymongo\u003e\u003d2.6 into test-requirements.txt?","commit_id":"0bad329eb1f432e4f4d1b9794510848a416a69ab"}],"ceilometer/storage/impl_mongodb.py":[{"author":{"_account_id":4491,"name":"Lianhao Lu","email":"llh_misc@outlook.com","username":"lianhao-lu"},"change_message_id":"f09feae1af2337b9e38dd9111190cd2bf6124911","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        client \u003d pymongo.MongoClient("},{"line_number":153,"context_line":"            url,"},{"line_number":154,"context_line":"            safe\u003dTrue,"},{"line_number":155,"context_line":"            max_pool_size\u003dNone"},{"line_number":156,"context_line":"        )"},{"line_number":157,"context_line":"        self._pool[url] \u003d weakref.ref(client)"},{"line_number":158,"context_line":"        return client"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAASn%2F%2FlbI%3D","line":155,"updated":"2013-09-03 06:40:51.000000000","message":"Is it ok to set max_pool_size to None?\n\nI\u0027m using pymongo 2.5.2, and the followings would fail:\n\n\u003e\u003e\u003e import pymongo\n\u003e\u003e\u003e pymongo.MongoClient(\u0027localhost\u0027, safe\u003dTrue, max_pool_size\u003dNone)\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n  File \"/usr/local/lib/python2.7/dist-packages/pymongo/mongo_client.py\", line 263, in __init__\n    \u0027max_pool_size\u0027, max_pool_size)\n  File \"/usr/local/lib/python2.7/dist-packages/pymongo/common.py\", line 71, in validate_positive_integer\n    val \u003d validate_integer(option, value)\n  File \"/usr/local/lib/python2.7/dist-packages/pymongo/common.py\", line 65, in validate_integer\n    raise TypeError(\"Wrong type for %s, value must be an integer\" % (option,))\nTypeError: Wrong type for max_pool_size, value must be an integer","commit_id":"14c599d6dbbdd5e96dbf22dc27151130d11d1bed"}]}
