--
You received this message because you are subscribed to the Google Groups "mgo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mgo-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jianjun,Per the documentation at http://gopkg.in/mgo.v2#Dial:"Dial will timeout after 10 seconds if a server isn't reached."
On Tue, Aug 23, 2016 at 10:15 AM, Jianjun Mao <justm...@gmail.com> wrote:
Hi,By default, mgo.Dial will set socket timeout with 60 seconds. But why my query returned read tcp timeout after 10 seconds ?I use a fixed size session pool to do query, I don't know if there's something related to the reusing socket mechanism.Can anyone explain this?Thanks.
--
You received this message because you are subscribed to the Google Groups "mgo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mgo-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to mgo-users+unsubscribe@googlegroups.com.