minor: BSON constant fix
This commit is contained in:
parent
2828b19111
commit
9babfc95bb
|
@ -7,7 +7,7 @@ MINIMUM_BSON_EXT_VERSION = "1.2.rc0"
|
||||||
module BSON
|
module BSON
|
||||||
VERSION = "1.2.rc0"
|
VERSION = "1.2.rc0"
|
||||||
|
|
||||||
if defined? Mongo
|
if defined? Mongo::DEFAULT_MAX_BSON_SIZE
|
||||||
DEFAULT_MAX_BSON_SIZE = Mongo::DEFAULT_MAX_BSON_SIZE
|
DEFAULT_MAX_BSON_SIZE = Mongo::DEFAULT_MAX_BSON_SIZE
|
||||||
else
|
else
|
||||||
DEFAULT_MAX_BSON_SIZE = 4 * 1024 * 1024
|
DEFAULT_MAX_BSON_SIZE = 4 * 1024 * 1024
|
||||||
|
|
Loading…
Reference in New Issue