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

【discuss】是否在文档中增加关于复制集合的说明和建议 #277

Open
needrunning opened this issue Jun 14, 2019 · 1 comment
Labels
status:ready for adoption Feel free to implement this issue. type:docs Documentation

Comments

@needrunning
Copy link

yii2-mongodb扩展建议增加在复制集环境下的配置引导和说明

以下配置是经过验证的复制集配置,但是连接超时没有设置。

以下是一个复制集例子

return [
'class' => '\yii\mongodb\Connection',
'dsn' => 'mongodb://user:pqssword@s1._test.mongodb.domain.cn:30000,s2.mongodb.domain.cn:30000,s3._test.mongodb.domain.cn:30000/databasename',
];

希望增加关于 connectTimeout 和socketTimeout 的config case

Additional info

Q A
Yii version 2.0.6
Yii MongoDB version "yiisoft/yii2-mongodb": "^2.1",
MongoDB server version 3.4.0
PHP version PHP 7.2.18
Operating system mac 10.13.6
@samdark
Copy link
Member

samdark commented Jun 14, 2019

Sure, feel free to add it.

@samdark samdark added status:ready for adoption Feel free to implement this issue. type:docs Documentation labels Jun 14, 2019
@needrunning needrunning changed the title 【discuss】是否在文档公众增加关于复制集合的说明和建议 【discuss】是否在文档中增加关于复制集合的说明和建议 Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:docs Documentation
Projects
None yet
Development

No branches or pull requests

2 participants