-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
18
-
Stash does not indicate that a request for metadata timed out in the REST response. Instead, if the request reaches the timeout, that information is excluded from the response.
The response should indicate that the metadata was attempted to be loaded, but reached the timeout.
For example, requests to /rest/api/1.0/projects/PROJ/repos/repo/branches?details=true should include the ahead/behind information from com.atlassian.stash.stash-branch-utils:ahead-behind-metadata-provider. If this metadata takes too long, it's not included in the response.
... "metadata": { "com.atlassian.stash.stash-branch-utils:latest-changeset-metadata": { "id": "dc82ee974d8dd56ea441a76e661daec3fec0b498", "displayId": "dc82ee974d8", "author": { "name": "Jeff Thomas", "emailAddress": "", "avatarUrl": "" }, "authorTimestamp": 1429562672000, "message": "Adding file to test", "parents": [ { "id": "42cf7864604b569017bc64dab1609653293c4f39", "displayId": "42cf7864604" } ] } } ...