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

fix and test TOTAL_USERS count #3289

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Nov 30, 2020

Don't assume UserDict contains all users

which assumption led to double-counting when a user in the db was loaded into the dict cache

closes #3280

Don't assume UserDict contains all users

which assumption led to double-counting when a user in the db was loaded into the dict cache
Copy link
Member

@consideRatio consideRatio left a comment

Choose a reason for hiding this comment

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

LGTM nice! Test failures are unrelated intermittent failures.

@consideRatio consideRatio merged commit 77220d6 into jupyterhub:master Nov 30, 2020
@minrk minrk deleted the user-count branch December 2, 2020 09:58
@minrk
Copy link
Member Author

minrk commented Dec 2, 2020

There is actually a real failure with the oldest_dependencies test, where the return type is different. Missing these is the hazard of having intermittent failures!

@consideRatio
Copy link
Member

Oooh woops =/

@minrk minrk added the bug label Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/hub/metrics total_users double the actual value
2 participants