병렬처리 원복
This commit is contained in:
@@ -350,10 +350,10 @@ namespace Million
|
||||
sellExceptionScript.regularExpressionString = savedResult.SellExceptionRegularExpression;
|
||||
|
||||
var dic = new Dictionary<string, List<SearchResult>>();
|
||||
//Parallel.For(0, tableList.Count, i =>
|
||||
//{
|
||||
for (var i = 0; i < tableList.Count; i++)
|
||||
Parallel.For(0, tableList.Count, i =>
|
||||
{
|
||||
// for (var i = 0; i < tableList.Count; i++)
|
||||
//{
|
||||
var market = tableList[i];
|
||||
var distinctIndicator = IndicatorSetupManager.Distinct(totalIndicator);
|
||||
|
||||
@@ -369,8 +369,8 @@ namespace Million
|
||||
market, distinctIndicator, overlapBuyManagementList, buyScript, sellScript, sellExceptionScript);
|
||||
dic[market.CoinFullName] = list;
|
||||
}
|
||||
}
|
||||
//});
|
||||
//}
|
||||
});
|
||||
|
||||
foreach (var item in dic.Keys)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user