Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

HHVM-239: Allow users to set a limit on acceptable staleness #127

Merged
merged 3 commits into from
Sep 7, 2016

Conversation

derickr
Copy link
Contributor

@derickr derickr commented Aug 30, 2016

Depends on #126 (and sorry for the random test fix for tests/MongoDBDriverManager_debugInfo.phpt)

@@ -34,7 +34,7 @@ array(2) {
["is_passive"]=>
bool(false)
["last_is_master"]=>
array(8) {
array(9) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make more sense to just use %d here, as we typically do for object fields (even when we enumerate all of them in the expected output)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did that for the PHPC one already - the problem is more that different versions of MongoDB include different items. Hence me doing: mongodb/mongo-php-driver@6462468#diff-3bb29f65077b3f49f6e05c7d78fdab99R53

Will fix that here too.

@jmikola
Copy link
Member

jmikola commented Sep 6, 2016

LGTM.

@derickr derickr force-pushed the HHVM-239-maxstaleness branch from 0c6036c to 98b9c56 Compare September 7, 2016 09:23
@derickr derickr merged commit 98b9c56 into mongodb:v1.2 Sep 7, 2016
derickr added a commit that referenced this pull request Sep 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants