WIP: Retry to connect to the API in case of failure #4

Draft
chapeau wants to merge 1 commit from retry_connection into master
chapeau commented 2021-02-24 19:41:01 +01:00 (Migrated from gitlab2.federez.net)

When created, the client tries to call the API. It now takes two others parameters to set the number of retries and the time between them.

When created, the client tries to call the API. It now takes two others parameters to set the number of retries and the time between them.
chapeau commented 2021-02-24 20:00:43 +01:00 (Migrated from gitlab2.federez.net)

marked this merge request as draft

By chapeau on 2021-02-24T19:00:43 (imported from GitLab)

marked this merge request as **draft** *By chapeau on 2021-02-24T19:00:43 (imported from GitLab)*
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin retry_connection:retry_connection
git checkout retry_connection

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout master
git merge --no-ff retry_connection
git checkout retry_connection
git rebase master
git checkout master
git merge --ff-only retry_connection
git checkout retry_connection
git rebase master
git checkout master
git merge --no-ff retry_connection
git checkout master
git merge --squash retry_connection
git checkout master
git merge --ff-only retry_connection
git checkout master
git merge retry_connection
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: re2o/re2oapi#4
No description provided.