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

php.ini里是否可以配置参数 #7

Open
gflhx opened this issue Sep 13, 2021 · 2 comments
Open

php.ini里是否可以配置参数 #7

gflhx opened this issue Sep 13, 2021 · 2 comments

Comments

@gflhx
Copy link

gflhx commented Sep 13, 2021

是否可以在php.ini里配置worker_id和datacenter_id?

@Rock-Lee-520
Copy link
Member

是否可以在php.ini里配置worker_id和datacenter_id?

具体需求是?

@gflhx
Copy link
Author

gflhx commented Sep 14, 2021

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

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