How can I setup the timeout for queries ?

18 views
Skip to first unread message

João Cerdeira

unread,
Dec 22, 2016, 2:07:14 PM12/22/16
to ReactiveMongo - http://reactivemongo.org
Hi,

I'm getting timeout on high volume queries or in high load.

How can I setup the queries timeout on reactivemongo ?

Thanks in advance,
João Cerdeira

Cédric Chantepie

unread,
Dec 22, 2016, 2:46:29 PM12/22/16
to ReactiveMongo - http://reactivemongo.org
You can see in documentation how to specify QueryOpts: http://reactivemongo.org/releases/0.12/documentation/tutorial/find-documents.html

You can check the connection options: http://reactivemongo.org/releases/0.12/documentation/tutorial/connect-database.html

As far Future timeout, that's not something specific to ReactiveMongo.

Reply all
Reply to author
Forward
0 new messages