Example #1
0
 protected Pool(Configuration.Config config)
 {
     NrOfInstances     = config.GetInt("nr-of-instances");
     Resizer           = DefaultResizer.FromConfig(config);
     UsePoolDispatcher = config.HasPath("pool-dispatcher");
     // ReSharper restore DoNotCallOverridableMethodsInConstructor
 }
Example #2
0
 protected Pool(Configuration.Config config)
 {
     NrOfInstances     = config.GetInt("nr-of-instances");
     Resizer           = DefaultResizer.FromConfig(config);
     UsePoolDispatcher = config.HasPath("pool-dispatcher");
 }