1
0
mirror of synced 2025-12-16 18:18:10 +08:00

auto commit

This commit is contained in:
yitter
2021-04-05 12:21:08 +08:00
parent 6c87227293
commit e83f211892
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@
第1步**全局** 初始化(应用程序启动时执行一次):
```
// 创建 IdGeneratorOptions 对象,构造函数输入 WorkerId
// 创建 IdGeneratorOptions 对象,请在构造函数输入 WorkerId
var options = new IdGeneratorOptions(1);
// options.WorkerIdBitLength = 10; // WorkerIdBitLength 默认值6支持的 WorkerId 最大值为2^6-1若 WorkerId 超过64可设置更大的 WorkerIdBitLength
// ...... 其它参数设置参考 IdGeneratorOptions 定义,一般来说,只要再设置 WorkerIdBitLength (决定 WorkerId 的最大值)。