On Tue, Oct 13, 2015, at 22:53, Michał Ziemski wrote:
> I would rather also test connectionString.MaxPoolSize with the
> "_available"
> stack
> and not the "_busy" list. This would make connectionString.MaxPoolSize

You mean:
if (_available.Count() + 1 > connectionString.MaxPoolSize)
                                        throw new
                                        InvalidOperationException("Connection
                                        pool is full.");
?

-- 
Mgr. Jiří Činčura
Independent IT Specialist

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to