GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: make ThreadPoolExecutor a class var by busunkim96 · Pull Request #461 · googleapis/google-auth-library-python

This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Conversation

@busunkim96

@busunkim96 busunkim96 commented Mar 16, 2020

Copy link
Copy Markdown
Contributor

Partially addresses #455 using @lidiz's suggestion. This does not solve the memory leak issue.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@busunkim96
fix: make threadpool clas var
d624995
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 16, 2020
gnossen
gnossen approved these changes Mar 16, 2020
View reviewed changes

@gnossen gnossen left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks good! Thanks for taking care of this!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gnossen gnossen mentioned this pull request Mar 16, 2020
fix: use AuthMetadataPlugin with context manager #460
Closed
@gnossen

gnossen commented Mar 16, 2020

Copy link
Copy Markdown

It's worth noting though that you're now essentially setting your maximum concurrency to 5 * multiprocessing.cpu_count()

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gnossen

gnossen commented Mar 17, 2020

Copy link
Copy Markdown

Word of warning. If you want to support Python 2 users in appengine, you're going to want to explicitly specify max_workers in the constructor. I'm speaking from experience.

busunkim96 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

busunkim96 added 4 commits March 19, 2020 09:43
@busunkim96
fix: set max_workers
c882032
@busunkim96
Merge branch 'master' into use-class-var
a00f488
@busunkim96
chore: add no cover for py2 branch
97e7826
@busunkim96
Merge branch 'master' into use-class-var
1b49e0f
@busunkim96
busunkim96 requested a review from arithmetic1728 March 19, 2020 20:25
arithmetic1728
arithmetic1728 approved these changes Mar 19, 2020
View reviewed changes
@busunkim96
busunkim96 merged commit b526473 into master Mar 19, 2020
gcf-merge-on-green Bot pushed a commit that referenced this pull request Mar 25, 2020
@release-please
chore: release 1.12.0 (#463)
f79cf9a
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.12.0](https://www.github.com/googleapis/google-auth-library-python/compare/v1.11.3...v1.12.0) (2020-03-25)


### Features

* add mTLS ADC support for HTTP ([#457](https://www.github.com/googleapis/google-auth-library-python/issues/457)) ([bb9215a](https://www.github.com/googleapis/google-auth-library-python/commit/bb9215ad6dee6c1dc7f255a2e4ed7011b85bd6cf))
* add SslCredentials class for mTLS ADC ([#448](https://www.github.com/googleapis/google-auth-library-python/issues/448)) ([dafb41f](https://www.github.com/googleapis/google-auth-library-python/commit/dafb41fae3f513ea9a4f93404f6148bee7dda202))
* fetch id token from GCE metadata server ([#462](https://www.github.com/googleapis/google-auth-library-python/issues/462)) ([97e7700](https://www.github.com/googleapis/google-auth-library-python/commit/97e7700da031bfd80b63b1a3d2abc29c500936ef))


### Bug Fixes

* don't use threads for gRPC AuthMetadataPlugin ([#467](https://www.github.com/googleapis/google-auth-library-python/issues/467)) ([ee373f8](https://www.github.com/googleapis/google-auth-library-python/commit/ee373f88b512a38e791a1c085452c6c6da501eb6))
* make ThreadPoolExecutor a class var ([#461](https://www.github.com/googleapis/google-auth-library-python/issues/461)) ([b526473](https://www.github.com/googleapis/google-auth-library-python/commit/b5264730603947295cc97ecff2f6aef84aa3d6e9))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
@tseaver
tseaver deleted the use-class-var branch October 28, 2020 18:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@gnossen gnossen gnossen approved these changes
@arithmetic1728 arithmetic1728 arithmetic1728 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@busunkim96 @gnossen @arithmetic1728 @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.