revert forced 4.0 migration -- many users are still dependent on 2.0
This commit is contained in:
parent
7b48ebb7e6
commit
4bcde77cc2
13 changed files with 531 additions and 46 deletions
|
|
@ -31,10 +31,17 @@ namespace Server
|
|||
{
|
||||
int processorCount = Core.ProcessorCount;
|
||||
|
||||
if (processorCount > 16)
|
||||
#if Framework_4_0
|
||||
if (processorCount > 2)
|
||||
{
|
||||
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