Commit 945935ca5d63a3c7d95605b3c5de1912fbcd9f34
1 parent
daf13af07c
Exists in
master
and in
8 other branches
修改超时时间
Showing 2 changed files with 4 additions and 4 deletions
platform-resource/resources/config-product.properties
View file @
945935c
... | ... | @@ -7,11 +7,11 @@ |
7 | 7 | |
8 | 8 | mongo.connectionsPerHost=50 |
9 | 9 | mongo.threadsAllowedToBlockForConnectionMultiplier=4 |
10 | -mongo.connectTimeout=1000 | |
10 | +mongo.connectTimeout=2500 | |
11 | 11 | mongo.maxWaitTime=1500 |
12 | 12 | mongo.autoConnectRetry=true |
13 | 13 | mongo.socketKeepAlive=true |
14 | -mongo.socketTimeout=1500 | |
14 | +mongo.socketTimeout=2500 | |
15 | 15 | mongo.slaveOk=true |
16 | 16 | |
17 | 17 | mysql.db.name=platform |
platform-resource/resources/config-test.properties
View file @
945935c
... | ... | @@ -4,10 +4,10 @@ |
4 | 4 | |
5 | 5 | mongo.db.username=platform |
6 | 6 | mongo.db.password=platform123 |
7 | -mongo.socketTimeout=1000 | |
7 | +mongo.socketTimeout=2500 | |
8 | 8 | mongo.connectionsPerHost=20 |
9 | 9 | mongo.threadsAllowedToBlockForConnectionMultiplier=10 |
10 | -mongo.connectTimeout=1000 | |
10 | +mongo.connectTimeout=2500 | |
11 | 11 | mongo.maxWaitTime=2000 |
12 | 12 | mongo.autoConnectRetry=true |
13 | 13 | mongo.socketKeepAlive=true |