DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
mongoose connection increase timeout in node js
mongoose
.
connect
(
uri
,
{
useUnifiedTopology
:
true
,
serverSelectionTimeoutMS
:
1
*
1000
,
// 1s timeout
}
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mongoose
#connection
#increase
#timeout
#node
#js
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit