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

Tune lf.concurrent_map and lf.with_retry. #27

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Tune lf.concurrent_map and lf.with_retry.

  • lf.concurrent_map to better handle timeout.
  • Adjust exponential_backoff behavior of lf.with_retry to avoid penalizing an unlucky item during multiple attempts, this avoids the process to be stalled.

@codecov-commenter
Copy link

Codecov Report

Merging #27 (6859247) into main (2e812fe) will decrease coverage by 0.02%.
The diff coverage is 98.14%.

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
- Coverage   97.28%   97.27%   -0.02%     
==========================================
  Files          38       38              
  Lines        2764     2785      +21     
  Branches      565      482      -83     
==========================================
+ Hits         2689     2709      +20     
  Misses         31       31              
- Partials       44       45       +1     
Files Coverage Δ
langfun/core/concurrent.py 98.79% <98.14%> (-0.52%) ⬇️

@copybara-service copybara-service bot closed this Oct 4, 2023
@copybara-service copybara-service bot deleted the test_570556726 branch October 4, 2023 03:36
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.

1 participant