mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 08:18:02 -04:00 
			
		
		
		
	Co-authored-by: Wim <wim@42.be>
This commit is contained in:
		| @@ -171,7 +171,7 @@ func InitIssueIndexer(syncReindex bool) { | |||||||
| 			log.Debug("Created Bleve Indexer") | 			log.Debug("Created Bleve Indexer") | ||||||
| 		case "elasticsearch": | 		case "elasticsearch": | ||||||
| 			graceful.GetManager().RunWithShutdownFns(func(_, atTerminate func(context.Context, func())) { | 			graceful.GetManager().RunWithShutdownFns(func(_, atTerminate func(context.Context, func())) { | ||||||
| 				issueIndexer, err := NewElasticSearchIndexer(setting.Indexer.IssueConnStr, "gitea_issues") | 				issueIndexer, err := NewElasticSearchIndexer(setting.Indexer.IssueConnStr, setting.Indexer.IssueIndexerName) | ||||||
| 				if err != nil { | 				if err != nil { | ||||||
| 					log.Fatal("Unable to initialize Elastic Search Issue Indexer at connection: %s Error: %v", setting.Indexer.IssueConnStr, err) | 					log.Fatal("Unable to initialize Elastic Search Issue Indexer at connection: %s Error: %v", setting.Indexer.IssueConnStr, err) | ||||||
| 				} | 				} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user