mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 09:52:26 +02:00
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:
parent
44053532bb
commit
cb868b7851
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue