Either Copy/Close a session for doing the work, or just Refresh
the session once you're done using it. This will put the underlying
socket back into the pool, and while in the pool these timeouts are
managed automatically, and your session will get a new socket if
that's necessary on the next time you use it.
If you need any extra details just let us know.
> --
> 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/groups/opt_out.
--
gustavo @
http://niemeyer.net