Page MenuHomeSoftware Heritage

Don't use refresh='wait_for' when updating origins.
ClosedPublic

Authored by vlorentz on Dec 3 2019, 3:07 PM.

Details

Reviewers
ardumont
Group Reviewers
Reviewers
Summary

It makes origin update very slow, and was only useful for tests.

Instead, this commit adds a 'flush' endpoints that is called by
tests, because they need the indices to be refreshed to test
the results of a search query.

Diff Detail

Repository
rDSEA Archive search
Branch
origin-update-wait_for
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9492
Build 13962: tox-on-jenkinsJenkins
Build 13961: arc lint + arc unit