From 8c6f30eadc045629232c5cef7d8e38f85a9cad04 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Wed, 31 May 2017 07:05:07 +0200 Subject: [PATCH] mediaapi/config: Remove obsolete proxying comment and add default comment --- src/github.com/matrix-org/dendrite/mediaapi/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/mediaapi/config/config.go b/src/github.com/matrix-org/dendrite/mediaapi/config/config.go index a2d8f43c6..5c514194a 100644 --- a/src/github.com/matrix-org/dendrite/mediaapi/config/config.go +++ b/src/github.com/matrix-org/dendrite/mediaapi/config/config.go @@ -26,8 +26,8 @@ type MediaAPI struct { // The absolute base path to where media files will be stored. AbsBasePath types.Path `yaml:"abs_base_path"` // The maximum file size in bytes that is allowed to be stored on this server. - // Note that remote files larger than this can still be proxied to a client, they will just not be cached. // Note: if MaxFileSizeBytes is set to 0, the size is unlimited. + // Note: if max_file_size_bytes is not set, it will default to 10485760 (10MB) MaxFileSizeBytes types.FileSizeBytes `yaml:"max_file_size_bytes"` // The postgres connection config for connecting to the database e.g a postgres:// URI DataSource string `yaml:"database"`