summarylogtreecommitdiffstats
path: root/mongo.ini
blob: e9e8dbac1a3e4fcd3d20b973d7af53ea9a8bbeb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 = "$"