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

Add retry with timeout #76

Merged
merged 1 commit into from
Nov 2, 2020
Merged

Add retry with timeout #76

merged 1 commit into from
Nov 2, 2020

Conversation

Yikun
Copy link
Owner

@Yikun Yikun commented Nov 2, 2020

In this patch, we add the retry function, it retries cmd with timeout after the cmd excuted failed.

Every retries cmd will sleep 2**times, and now we set the retry times to 3.

Close: #69

In this patch, we add the retry function, it retries cmd with
timeout after the cmd excuted failed.

Every retries cmd will sleep 2**times, and now we set the
retry times to 3.
@Yikun Yikun merged commit 3e909fb into master Nov 2, 2020
@Yikun Yikun deleted the retry branch November 2, 2020 03:38
yi-Xu-0100 added a commit to yi-Xu-0100/hub-mirror-action that referenced this pull request Jan 27, 2021
* Change the get time script (Yikun#68)

Change the get time script to the same version with actions/cache example

[1] https://github.com/actions/cache

* Add paging support for destination repo list (Yikun#71)

Close: Yikun#66

* Cleanup unuse message when create repo (Yikun#72)

Close: Yikun#57

* Skip follow-up step after failed (Yikun#74)

* Add timeout support (Yikun#75)

* Add retry with timeout (Yikun#76)

In this patch, we add the retry function, it retries cmd with timeout after the cmd excuted failed.

Every retries cmd will sleep 2**times, and now we set the retry times to 3.

* Change the default timeout args to `30m`

* Using grep -Fx to match the repo name (Yikun#81)

Co-authored-by: Yikun Jiang <yikunkero@gmail.com>
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.

Operation timed out 能否优化流程
1 participant