This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
idgenerator
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
6
Wiki
Activity
Issues
5
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
auto commit
tags/v1.1.0
yitter
3 years ago
parent
bfa1e8c5df
commit
2d8a87bac6
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
C#.NET/source/Yitter.IdGenerator/Core/SnowWorkerM1.cs
+ 2
- 0
C#.NET/source/Yitter.IdGenerator/Core/SnowWorkerM1.cs
View File
@@ -236,6 +236,8 @@ namespace Yitter.IdGenerator
{
EndOverCostAction(currentTimeTick);
// TODO: 在漂移终止,等待时间对齐时,如果发生时间回拨较长,则此处可能等待较长时间。可优化为:在漂移终止时增加时间回拨应对逻辑。(该情况发生概率很低)
_LastTimeTick = GetNextTimeTick();
_CurrentSeqNumber = MinSeqNumber;
_IsOverCost = false;
Write
Preview
Loading…
Cancel
Save