mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 21:29:02 +08:00
🐛 Fixing a bug. #1831 默认发号器跳号问题(除了第一个区间能取完所有值,其他的区间只能取到第一个值)
This commit is contained in:
1 parent
2bf2c2c3e4
commit
dd6b0e8225
1 file changed
+1
+1
@@ -72,6 +72,7 @@ public class DefaultRangeSequence implements RangeSequence {
|
||||
for (;;) {
|
||||
if (currentRange.isOver()) {
|
||||
currentRange = seqRangeMgr.nextRange(name);
|
||||
seqRangeMap.put(name,currentRange);
|
||||
}
|
||||
|
||||
value = currentRange.getAndIncrement();
|
||||
|
||||
Reference in new issue
Block a user