auto commit
This commit is contained in:
@@ -20,7 +20,6 @@ public class GenTest {
|
||||
|
||||
public void GenStart() {
|
||||
long start = System.currentTimeMillis();
|
||||
|
||||
long id = 0;
|
||||
|
||||
for (int i = 0; i < GenIdCount; i++) {
|
||||
|
||||
@@ -22,11 +22,9 @@ public class StartUp {
|
||||
|
||||
public static void main(String[] args) {
|
||||
IdGeneratorOptions options = new IdGeneratorOptions();
|
||||
|
||||
// options.TopOverCostCount = 10000;
|
||||
|
||||
options.WorkerIdBitLength = 6;
|
||||
options.SeqBitLength = 6;
|
||||
// options.WorkerIdBitLength = 6;
|
||||
// options.SeqBitLength = 6;
|
||||
// options.TopOverCostCount = 2000;
|
||||
// options.MinSeqNumber = 5;
|
||||
// options.MaxSeqNumber = 200;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user