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

remove stopped users from proxy on startup #776

Merged
merged 1 commit into from Sep 27, 2016

Conversation

minrk
Copy link
Member

@minrk minrk commented Sep 26, 2016

We already added running users, but we didn't handle removing users from the proxy if the user's server was stopped (e.g. while the Hub was restarting).

closes #775

We already added running users, but we didn't handle removing users from the proxy
if the user's server was stopped (e.g. while the Hub was restarting).
else:
return self.server.base_url
return self.base_url
Copy link
Contributor

Choose a reason for hiding this comment

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

Just for clarification since it's in the code in various places: when would one use self.server.base_url vs self.base_url?

@willingc
Copy link
Contributor

One developer question for my own education. This looks good to merge.

@willingc willingc merged commit 70727c4 into jupyterhub:master Sep 27, 2016
@minrk minrk modified the milestone: 0.7 Nov 11, 2016
@minrk minrk deleted the cleanup-on-start branch February 23, 2018 12:01
chicocvenancio pushed a commit to chicocvenancio/jupyterhub that referenced this pull request May 6, 2018
remove stopped users from proxy on startup
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

Successfully merging this pull request may close these issues.

Proxy entries not cleaned up when single user servers are stopped
2 participants