提交 809f8cc7 编写于 作者: Z zhouzj

editreadme

上级 3c4ef384
using System;
using System.Collections.Generic;
using System.Text;
using static Yitter.IdGenerator.IIdGenerator;
namespace Yitter.IdGenerator
{
......
......@@ -29,7 +29,7 @@ namespace Yitter.IdGenerator
if (options.SeqBitLength + options.WorkerIdBitLength > 22)
{
throw new ApplicationException("不满足条件:WorkerIdBitLength + SeqBitLength <= 22");
throw new ApplicationException("error:WorkerIdBitLength + SeqBitLength <= 22");
}
var maxWorkerIdNumber = Math.Pow(2, options.WorkerIdBitLength) - 1;
......@@ -72,7 +72,6 @@ namespace Yitter.IdGenerator
{
Thread.Sleep(500);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册