diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2018-01-08 06:03:52 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-01-08 07:03:52 +0200 |
commit | cb868b78513b666905c8cd4facca68ed54c7f814 (patch) | |
tree | fca9a78bdb324cecdb560aa471b5b2d71617155f /models | |
parent | 44053532bb7c5b7fcd65fd5246780db8cf446f7e (diff) | |
download | gitea-cb868b78513b666905c8cd4facca68ed54c7f814.tar.gz gitea-cb868b78513b666905c8cd4facca68ed54c7f814.zip |
Add missing indexer doc in configuration (#3324)
* Add missing indexer doc in configuration
* Unify MAX_FILE_SIZE to 1024 * 1024
Diffstat (limited to 'models')
-rw-r--r-- | models/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go index 21bbdb7373..7738e1a3c2 100644 --- a/models/models.go +++ b/models/models.go @@ -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 |