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 gCTS polling on timeouts #33

Open
jfilak opened this issue Oct 22, 2020 · 1 comment
Open

add gCTS polling on timeouts #33

jfilak opened this issue Oct 22, 2020 · 1 comment

Comments

@jfilak
Copy link
Owner

jfilak commented Oct 22, 2020

GET /repository//getHistory
{ result: [ { rid: , checkoutTime: , fromCommit: , toCommit: , caller: , request: , type: (PULL | CLONE), state: DONE, rc: } ] }

@palubaj
Copy link
Collaborator

palubaj commented Aug 3, 2023

Check out polling already implemented for the clone operation (see #103).

Basically, the clone operation is executed, and if it fails, raising 500 Internal Error, the return code of the operation is checked. The reason to check the return code is that, in some cases, even though the operation raises an error, it was successful (the raised error was a response from a server). To get the return code, the getHistory endpoint is used.

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

No branches or pull requests

2 participants