How to change the connection timeout,default 1000* 10
lix09 opened this issue · 0 comments
lix09 commented
Hello everyone
last ,I use mongodb spark ,but when writen data to mongodb db ,the connection socket error. error tips come out com.mongodb.MongoTimeoutException: Timed out after 10000 ms while waiting to connect
I find the source but not find how to make the connectTimeout to take effect
thank you