1
0
mirror of synced 2025-12-08 06:08:13 +08:00

fix: test.py

This commit is contained in:
koukouchan
2022-08-24 21:35:28 +08:00
parent cf5be53574
commit 59348c8749

View File

@@ -10,7 +10,7 @@ if __name__ == '__main__':
# 生成id generator # 生成id generator
options = options.IdGeneratorOptions(worker_id=worker_id, seq_bit_length=10) options = options.IdGeneratorOptions(worker_id=worker_id, seq_bit_length=10)
options.BaseTime = 1231111111 options.base_time = 12311111112
idgen = generator.DefaultIdGenerator() idgen = generator.DefaultIdGenerator()
idgen.set_id_generator(options) idgen.set_id_generator(options)