summarylogtreecommitdiffstats
path: root/mongo.ini
diff options
context:
space:
mode:
Diffstat (limited to 'mongo.ini')
-rw-r--r--mongo.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/mongo.ini b/mongo.ini
new file mode 100644
index 000000000000..e9e8dbac1a3e
--- /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 = "$"
+