Skip to content
Snippets Groups Projects
  1. Sep 25, 2024
    • Antoine Lambert's avatar
      api: Remove visit_types field in origins endpoint responses · 6fe7f89e
      Antoine Lambert authored and Antoine Lambert's avatar Antoine Lambert committed
      The recent addition of the visit_types field in origins endpoint responses
      significantly degraded the performance of the HTTP requests as visit types
      info are fetched on the backend side by sending requests to elasticsearch
      for each origin in a page.
      
      It has been observed by an endpoint client (OpenAIRE) that requests could
      fail by returning read timeout errors related to elasticsearch not responding
      in time when fetching visit types info.
      
      So revert the addition of that field in order to significantly speedup response
      time as requests to elasticsearch will no longer be made by the backend.
      6fe7f89e
    • Antoine Lambert's avatar
      browse/snapshot_context: Handle mercurial edge case in _get_release · d3780a19
      Antoine Lambert authored and Antoine Lambert's avatar Antoine Lambert committed
      Mercurial branch name for a release has the following pattern:
      
      	tags/{release_name}
      
      Package manager branch name for a release has the following pattern:
      
      	releases/{release_name}
      
      So handle these edge cases when attempting to fetch a release by its
      name to avoid 404 errors.
      d3780a19
  2. Sep 24, 2024
  3. Sep 23, 2024
  4. Sep 17, 2024
  5. Sep 13, 2024
  6. Sep 12, 2024
  7. Sep 11, 2024
  8. Sep 09, 2024
  9. Sep 05, 2024
  10. Sep 04, 2024
  11. Aug 30, 2024
  12. Aug 29, 2024
  13. Aug 28, 2024
  14. Aug 27, 2024
  15. Aug 22, 2024
Loading