Browse Source

auto commit

tags/v1.2
yitter 4 years ago
parent
commit
c918675a5a
2 changed files with 2 additions and 7 deletions
  1. +0
    -5
      C#.NET/source/Yitter.IdGenerator/Core/SnowWorkerM1.cs
  2. +2
    -2
      C#.NET/source/Yitter.IdGenerator/Yitter.IdGenerator.csproj

+ 0
- 5
C#.NET/source/Yitter.IdGenerator/Core/SnowWorkerM1.cs View File

@@ -86,11 +86,6 @@ namespace Yitter.IdGenerator
BaseTime = options.BaseTime;
}

if (WorkerId < 1)
{
WorkerId = (ushort)DateTime.Now.Millisecond;
}

if (SeqBitLength == 0)
{
SeqBitLength = 6;


+ 2
- 2
C#.NET/source/Yitter.IdGenerator/Yitter.IdGenerator.csproj View File

@@ -16,9 +16,9 @@
<Company>Yitter</Company>
<Authors>Yitter</Authors>
<Copyright>Yitter</Copyright>
<PackageProjectUrl>https://gitee.com/yitter/idgenerator</PackageProjectUrl>
<PackageProjectUrl>https://github.com/yitter/idgenerator</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>1.0.9</Version>
<Version>1.0.10</Version>
<PackageReleaseNotes></PackageReleaseNotes>
</PropertyGroup>


Loading…
Cancel
Save