NH does not do that. On Sun, Dec 26, 2010 at 4:36 PM, TD <[email protected]> wrote:
> Hi, > one of the recommendation of NH was to create a session when request > starts and close it when the request is completed. I find out that on > load test i ran out of connections in the pool. Then I find out that > when I create a session it creats a connection and open it. It will > close it only when I close the session. this means that NH does not > open and close the connection when he needs it, the connection stays > open till the session is closed. > Why did you implement it that way? > what can I do about it? ofcourse i can increase the pool number but > isn't it a problem for me to do so? > 10x a lot > TD > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- Fabio Maulo -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
