-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdatabaseLocalDebug.conf
37 lines (33 loc) · 1.06 KB
/
databaseLocalDebug.conf
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
29
30
31
32
33
34
35
36
37
{
"host": "127.0.0.1",
//"host": "182.92.108.214",
"port": 27017,
"db_name":"wids",
// Connection Pool Settings
"maxPoolSize" : 50, // int
"minPoolSize" : 25, // int
"maxIdleTimeMS" : 300000, // long
"maxLifeTimeMS" : 3600000, // long
"waitQueueMultiple" : 10, // int
"waitQueueTimeoutMS" : 10000, // long
"maintenanceFrequencyMS" : 2000, // long
"maintenanceInitialDelayMS" : 500, // long
//"authSource" : "admin",
// Socket Settings
"connectTimeoutMS" : 300000, // int
"socketTimeoutMS" : 100000, // int
"sendBufferSize" : 8192, // int
"receiveBufferSize" : 8192, // int
"keepAlive" : true, // boolean
// Heartbeat socket settings
"heartbeat.socket" : {
"connectTimeoutMS" : 300000, // int
"socketTimeoutMS" : 100000, // int
"sendBufferSize" : 8192, // int
"receiveBufferSize" : 8192, // int
"keepAlive" : true // boolean
},
// Server Settings
"heartbeatFrequencyMS" : 1000, // long
"minHeartbeatFrequencyMS" : 500 // long
}