Commit 5b5c8c50 by 泽锋 李

降低特性的拉取频率

parent 6fd50d45
......@@ -393,7 +393,7 @@ namespace ResetOutofstock
Console.WriteLine($"开始 拉取sku特性,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
base_sku_dao.SynchroSkuCharacter();
Console.WriteLine($"结束 拉取sku特性,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
Thread.Sleep( 60 * 1000);
Thread.Sleep(10 * 60 * 1000);
}
catch (Exception ex)
{
......@@ -415,7 +415,7 @@ namespace ResetOutofstock
Console.WriteLine($"开始 拉取sku特性,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
base_sku_dao.SynchroSkuCharacterSupplement();
Console.WriteLine($"结束 拉取sku特性,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
Thread.Sleep( 1 * 1000);
Thread.Sleep(24 *60 * 60 * 1000);
}
catch (Exception ex)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment