mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-21 16:09:40 +00:00
Rename IndexMain to Indexer_Main
This commit is contained in:
parent
d4ce12bb9a
commit
b6071004df
@ -436,7 +436,7 @@ bool IndexMergeIndexUpdates() {
|
||||
}
|
||||
}
|
||||
|
||||
void IndexMain(Config* config,
|
||||
void Indexer_Main(Config* config,
|
||||
FileConsumer::SharedState* file_consumer_shared,
|
||||
TimestampManager* timestamp_manager,
|
||||
ImportManager* import_manager,
|
||||
|
@ -29,7 +29,7 @@ void IndexWithTuFromCodeCompletion(
|
||||
const std::string& path,
|
||||
const std::vector<std::string>& args);
|
||||
|
||||
void IndexMain(Config* config,
|
||||
void Indexer_Main(Config* config,
|
||||
FileConsumer::SharedState* file_consumer_shared,
|
||||
TimestampManager* timestamp_manager,
|
||||
ImportManager* import_manager,
|
||||
|
@ -173,7 +173,7 @@ struct InitializeHandler : BaseMessageHandler<Ipc_InitializeRequest> {
|
||||
LOG_S(INFO) << "Starting " << config->indexerCount << " indexers";
|
||||
for (int i = 0; i < config->indexerCount; ++i) {
|
||||
WorkThread::StartThread("indexer" + std::to_string(i), [=]() {
|
||||
IndexMain(config, file_consumer_shared, timestamp_manager,
|
||||
Indexer_Main(config, file_consumer_shared, timestamp_manager,
|
||||
import_manager, import_pipeline_status, project,
|
||||
working_files, waiter);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user