diff options
author | Felix Yan | 2015-07-23 20:15:05 +0800 |
---|---|---|
committer | Felix Yan | 2015-07-23 20:15:05 +0800 |
commit | 8125e5edf08ac3d78708d11bf96f78e1be166d96 (patch) | |
tree | 34365d2ab28485bbd4e61f08a4b5b42a15b31b12 /mongo.ini | |
download | aur-php53-mongo.tar.gz |
Initial import
Diffstat (limited to 'mongo.ini')
-rw-r--r-- | mongo.ini | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mongo.ini b/mongo.ini new file mode 100644 index 00000000000..e9e8dbac1a3 --- /dev/null +++ b/mongo.ini @@ -0,0 +1,28 @@ +; Tell PHP to load the Mongo Extension on startup +extension=mongo.so + +[mongo] +; If the driver should reconnect to mongo +mongo.auto_reconnect = False + +; Whether to allow persistent connections +mongo.allow_persistent = On + +; Maximum number of persistent connections (-1 means unlimited) +mongo.max_persistent = -1 + +; Maximum number of links (persistent and non-persistent, -1 means unlimited) +mongo.max_connections = -1 + +; Default host for mongo connection +mongo.default_host = localhost + +; Default port for mongo database +mongo.default_port = 27017 + +; When saving files to the database, size of chunks to split them into +mongo.chunk_size = 262400 + +; Specify an alternate character to $ to use for special db functions ($set, $push, $exists, etc.) +mongo.cmd = "$" + |