From: Jiří Č. <ji...@ci...> - 2015-10-14 05:52:50
|
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 |