Rename IndexMain to Indexer_Main

This commit is contained in:
Jacob Dufault 2017-12-29 09:56:34 -06:00
parent d4ce12bb9a
commit b6071004df
3 changed files with 17 additions and 17 deletions

View File

@ -436,7 +436,7 @@ bool IndexMergeIndexUpdates() {
} }
} }
void IndexMain(Config* config, void Indexer_Main(Config* config,
FileConsumer::SharedState* file_consumer_shared, FileConsumer::SharedState* file_consumer_shared,
TimestampManager* timestamp_manager, TimestampManager* timestamp_manager,
ImportManager* import_manager, ImportManager* import_manager,

View File

@ -29,7 +29,7 @@ void IndexWithTuFromCodeCompletion(
const std::string& path, const std::string& path,
const std::vector<std::string>& args); const std::vector<std::string>& args);
void IndexMain(Config* config, void Indexer_Main(Config* config,
FileConsumer::SharedState* file_consumer_shared, FileConsumer::SharedState* file_consumer_shared,
TimestampManager* timestamp_manager, TimestampManager* timestamp_manager,
ImportManager* import_manager, ImportManager* import_manager,

View File

@ -173,7 +173,7 @@ struct InitializeHandler : BaseMessageHandler<Ipc_InitializeRequest> {
LOG_S(INFO) << "Starting " << config->indexerCount << " indexers"; LOG_S(INFO) << "Starting " << config->indexerCount << " indexers";
for (int i = 0; i < config->indexerCount; ++i) { for (int i = 0; i < config->indexerCount; ++i) {
WorkThread::StartThread("indexer" + std::to_string(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, import_manager, import_pipeline_status, project,
working_files, waiter); working_files, waiter);
}); });