Mongo socket timeout increased
prod-1188
This commit is contained in:
@@ -697,7 +697,7 @@ DOC_STORE_CONFIG = {
|
||||
# https://api.mongodb.com/python/2.9.1/api/pymongo/mongo_client.html#module-pymongo.mongo_client
|
||||
# default is never timeout while the connection is open,
|
||||
#this means it needs to explicitly close raising pymongo.errors.NetworkTimeout
|
||||
'socketTimeoutMS': 3000,
|
||||
'socketTimeoutMS': 6000,
|
||||
'connectTimeoutMS': 2000, # default is 20000, I believe raises pymongo.errors.ConnectionFailure
|
||||
# Not setting waitQueueTimeoutMS and waitQueueMultiple since pymongo defaults to nobody being allowed to wait
|
||||
'auth_source': None,
|
||||
|
||||
@@ -971,7 +971,7 @@ DOC_STORE_CONFIG = {
|
||||
# https://api.mongodb.com/python/2.9.1/api/pymongo/mongo_client.html#module-pymongo.mongo_client
|
||||
# default is never timeout while the connection is open,
|
||||
#this means it needs to explicitly close raising pymongo.errors.NetworkTimeout
|
||||
'socketTimeoutMS': 3000,
|
||||
'socketTimeoutMS': 6000,
|
||||
'connectTimeoutMS': 2000, # default is 20000, I believe raises pymongo.errors.ConnectionFailure
|
||||
# Not setting waitQueueTimeoutMS and waitQueueMultiple since pymongo defaults to nobody being allowed to wait
|
||||
'auth_source': None,
|
||||
|
||||
Reference in New Issue
Block a user