Browse files

Remove obsolete comments about collection size limits.

  • Loading branch information...
1 parent cf9dca6 commit 6b3f861df1adba77db92257abf6dfd09c2b5b2d3 @behackett behackett committed Mar 13, 2013
Showing with 2 additions and 5 deletions.
  1. +0 −2 pymongo/collection.py
  2. +2 −3 pymongo/database.py
View
2 pymongo/collection.py
@@ -118,8 +118,6 @@ def __create(self, options):
"""Sends a create command with the given options.
"""
- # Send size as a float, not an int/long. BSON can only handle 32-bit
- # ints which conflicts w/ max collection size of 10000000000.
if options:
if "size" in options:
options["size"] = float(options["size"])
View
5 pymongo/database.py
@@ -218,9 +218,8 @@ def create_collection(self, name, **kwargs):
method. Any of the following options are valid:
- "size": desired initial size for the collection (in
- bytes). must be less than or equal to 10000000000. For
- capped collections this size is the max size of the
- collection.
+ bytes). For capped collections this size is the max
+ size of the collection.
- "capped": if True, this is a capped collection
- "max": maximum number of objects if capped (optional)

0 comments on commit 6b3f861

Please sign in to comment.