Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

How to change the connection timeout,default 1000* 10 #180

Open
lix09 opened this issue Nov 1, 2017 · 0 comments
Open

How to change the connection timeout,default 1000* 10 #180

lix09 opened this issue Nov 1, 2017 · 0 comments

Comments

@lix09
Copy link

lix09 commented Nov 1, 2017

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
@lix09 lix09 changed the title How to change the connection timeout,default 6000* 10 How to change the connection timeout,default 1000* 10 Nov 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant