Add missing indexer doc in configuration (#3324)

* Add missing indexer doc in configuration

* Unify MAX_FILE_SIZE to 1024 * 1024
This commit is contained in:
Antoine GIRARD authored and Lauris BH committed 2018-01-08 07:03:52 +02:00
1 parent 44053532bb
commit cb868b7851
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ func LoadConfigs() {
setting.Indexer.RepoPath = path.Join(setting.AppWorkPath, setting.Indexer.RepoPath)
}
setting.Indexer.UpdateQueueLength = sec.Key("UPDATE_BUFFER_LEN").MustInt(20)
setting.Indexer.MaxIndexerFileSize = sec.Key("MAX_FILE_SIZE").MustInt64(512 * 1024 * 1024)
setting.Indexer.MaxIndexerFileSize = sec.Key("MAX_FILE_SIZE").MustInt64(1024 * 1024)
}
// parsePostgreSQLHostPort parses given input in various forms defined in