提交 bae2eb33 编写于 作者: Z zhouzj

修改测试配置

上级 816494ac
...@@ -9,7 +9,7 @@ namespace Yitter.OrgSystem.TestA ...@@ -9,7 +9,7 @@ namespace Yitter.OrgSystem.TestA
class Program class Program
{ {
static int workerCount = 1; static int workerCount = 1;
static int genIdCount = 50000; // 计算ID数量 static int genIdCount = 100000; // 计算ID数量
static bool single = true; static bool single = true;
static bool outputLog = true; static bool outputLog = true;
static IIdGenerator IdGen = null; static IIdGenerator IdGen = null;
...@@ -23,7 +23,7 @@ namespace Yitter.OrgSystem.TestA ...@@ -23,7 +23,7 @@ namespace Yitter.OrgSystem.TestA
while (true) while (true)
{ {
Go(); Go();
Thread.Sleep(500); Thread.Sleep(5000);
Console.WriteLine("Hello World!"); Console.WriteLine("Hello World!");
} }
} }
...@@ -35,7 +35,7 @@ namespace Yitter.OrgSystem.TestA ...@@ -35,7 +35,7 @@ namespace Yitter.OrgSystem.TestA
var newConfig = new IdGeneratorOptions() var newConfig = new IdGeneratorOptions()
{ {
Method = 2, Method = 1,
StartTime = DateTime.Now.AddYears(-1), StartTime = DateTime.Now.AddYears(-1),
//TopOverCostCount = 1000, //TopOverCostCount = 1000,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册