Automatically pause queue if index service is unavailable (#15066)

* Handle keyword search error when issue indexer service is not available

* Implement automatic disabling and resume of code indexer queue
This commit is contained in:
Lauris BH
2022-01-27 10:30:51 +02:00
committed by GitHub
parent 2649eddcf0
commit 8038610a42
28 changed files with 522 additions and 151 deletions

View File

@ -139,5 +139,10 @@
</div>
</li>
{{end}}
{{if .IssueIndexerUnavailable}}
<div class="ui error message">
<p>{{$.i18n.Tr "repo.issues.keyword_search_unavailable"}}</p>
</div>
{{end}}
</div>
{{template "base/paginate" .}}