Closed tokingHong closed 5 years ago
Hi @tokingHong
Cloning a session is documented to reuse the same socket:
Clone works just like Copy, but also reuses the same socket as the original session
I guess your connections are coming from somewhere else?
I'm going to close this, feel free to reply if you think it is definitely a mgo issue though! Dom
@domodwyer You can check my code and have a test :)
before test no connections
Why the maxPoolSize had no effect?
go version 1.10 mgo is latest