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

把worker_id和datacenter_id配置到php.ini里面,而不用从代码里直接配置worker_id和datacenter_id。 #8

Open
gflhx opened this issue Sep 16, 2021 · 1 comment

Comments

@gflhx
Copy link

gflhx commented Sep 16, 2021

把worker_id和datacenter_id配置到php.ini里面,而不用从代码里直接配置worker_id和datacenter_id。
extension=seassnowflake.so
seassnowflake.WorkerId=1
seassnowflake.DatacenterDd=6
这样可以吗?

Originally posted by @gflhx in #7 (comment)

@Rock-Lee-520
Copy link
Member

copy that

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

2 participants