Isolated the problem with .NET 4.0 to the networking code changes; no reason to disallow support for .NET 4.0, and restoring default .NET FX 4.0 support
This commit is contained in:
parent
287bacac0e
commit
b13718ca01
13 changed files with 46 additions and 531 deletions
|
|
@ -31,17 +31,10 @@ namespace Server
|
|||
{
|
||||
int processorCount = Core.ProcessorCount;
|
||||
|
||||
#if Framework_4_0
|
||||
if (processorCount > 2)
|
||||
if (processorCount > 16)
|
||||
{
|
||||
return new DynamicSaveStrategy();
|
||||
}
|
||||
#else
|
||||
if (processorCount > 16)
|
||||
{
|
||||
return new ParallelSaveStrategy(processorCount);
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
return new DualSaveStrategy();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue