1
0
mirror of synced 2026-02-19 11:27:56 +08:00

editreadme

This commit is contained in:
zhouzj
2021-03-11 21:44:50 +08:00
parent 3c4ef38454
commit 809f8cc7db
2 changed files with 1 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Text;
using static Yitter.IdGenerator.IIdGenerator;
namespace Yitter.IdGenerator
{

View File

@@ -29,7 +29,7 @@ namespace Yitter.IdGenerator
if (options.SeqBitLength + options.WorkerIdBitLength > 22)
{
throw new ApplicationException("不满足条件WorkerIdBitLength + SeqBitLength <= 22");
throw new ApplicationException("errorWorkerIdBitLength + SeqBitLength <= 22");
}
var maxWorkerIdNumber = Math.Pow(2, options.WorkerIdBitLength) - 1;
@@ -72,7 +72,6 @@ namespace Yitter.IdGenerator
{
Thread.Sleep(500);
}
}