Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

Conversation

tifayuki
Copy link
Contributor

No description provided.


super(self.__class__, self)._on_error(ws, e)

def run_forever(self, *args, **kwargs):
while True:
if str(dockercloud.auth.get_auth_header()) in self.invaid_auth_headers:
if str(dockercloud.auth.get_auth_header()) in self.invalid_auth_headers:
self.invalid_auth_headers.discard(dockercloud.auth.get_auth_header())
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to store the auth header? Can't we just store it as a bool?

@tifayuki tifayuki force-pushed the not_permanently_cache_invalid_auth_header branch from 3c8f13b to f78ac3a Compare November 30, 2016 18:22
@tifayuki tifayuki merged commit 9ffe815 into master Dec 1, 2016
@tifayuki tifayuki deleted the not_permanently_cache_invalid_auth_header branch December 1, 2016 21:55
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