Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Added sleep between upload retries. #295

Merged
merged 3 commits into from Sep 14, 2020
Merged

Added sleep between upload retries. #295

merged 3 commits into from Sep 14, 2020

Conversation

nmoinvaz
Copy link
Contributor

See #293.

@nmoinvaz
Copy link
Contributor Author

nmoinvaz commented Aug 30, 2020

Not sure why the failure on black on a single instance. I checked manually and that file tests\test.py appears fine which I don't even touch in this PR.

@nmoinvaz nmoinvaz changed the title Added sleep between upload retries with increasing wait. Added sleep between upload retries. Aug 31, 2020
@nmoinvaz
Copy link
Contributor Author

This PR:

  • Adds sleep 2s for each retry (same as codecov bash uploader)
  • Sets default retries to 5 (same as codecov bash uploader)
  • Logs retry attempts to output for debugging.

codecov/__init__.py Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 14, 2020

Codecov Report

Merging #295 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #295   +/-   ##
=====================================
  Coverage      88%    88%           
=====================================
  Files           2      2           
  Lines           9      9           
=====================================
  Hits            8      8           
  Misses          1      1           

@nmoinvaz
Copy link
Contributor Author

I have fixed the CI issue.

@thomasrockhu thomasrockhu merged commit 2574d1b into codecov:master Sep 14, 2020
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.

None yet

3 participants