mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Wrap the code indexer In order to prevent a data race in the code indexer it must be wrapped with a holder otherwise it is possible to Search/Index on an incompletely initialised indexer, and search will fail with a nil pointer until the repository indexer is initialised. Further a completely initialised repository indexer should not be closed until Termination otherwise actions in Hammer/Shutdown phases could block or be lost. Finally, there is a complex dance of shutdown etiquette should the index initialisation fail. This PR restores that. * Always return err if closed whilst waiting Co-authored-by: techknowlogick <matti@mdranta.net> |
5 years ago | |
---|---|---|
.. | ||
bleve.go | 5 years ago | |
bleve_test.go | 5 years ago | |
git.go | 5 years ago | |
indexer.go | 5 years ago | |
queue.go | 5 years ago | |
search.go | 5 years ago | |
wrapped.go | 5 years ago |