Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不是很理解,时间只占用28位,机器id占22位,为什么要这么设计呢? #34

Closed
jiangrongbo opened this issue May 15, 2019 · 1 comment

Comments

@jiangrongbo
Copy link

时间只占用28位,只能要8年,机器id占22位,有朋友能解释下为什么吗?

@XngPro
Copy link

XngPro commented May 31, 2019

时间只占用28位,只能要8年,机器id占22位,有朋友能解释下为什么吗?

可以修改的,参考 https://github.com/baidu/uid-generator#tips

@baozhi baozhi closed this as completed Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants