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

配置中的snowflake.node_id有什么用? #1

Open
lhmwzy opened this issue Oct 26, 2014 · 0 comments
Open

配置中的snowflake.node_id有什么用? #1

lhmwzy opened this issue Oct 26, 2014 · 0 comments

Comments

@lhmwzy
Copy link

lhmwzy commented Oct 26, 2014

在php.ini中我配置如下:
extension="snowflake.so"
snowflake.node_id = 10
snowflake.epoch =1367505795100

可输出如下:
196222440722964480Array ( [timestamp] => 1367505795.1 [node_id] => 0 [sequence] => 1 )
输出中的node_id难道不应该是10?
是我配置错误还是程序中根本没有启用node_id?

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

1 participant