summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-03-07 14:12:51 -0800
committerCorey Hulen <corey@hulen.com>2016-03-07 14:12:51 -0800
commit1dde831daf29497343492b2101c52b4cc1ef5aad (patch)
tree07d0c5209bc84c8a083e35478d3c28fa572da895
parentb8b38c0c7269210451dc5fee81ef28ed4e8ae183 (diff)
parent733396f6b31d0e428c5e2f7497f647864db852aa (diff)
downloadchat-1dde831daf29497343492b2101c52b4cc1ef5aad.tar.gz
chat-1dde831daf29497343492b2101c52b4cc1ef5aad.tar.bz2
chat-1dde831daf29497343492b2101c52b4cc1ef5aad.zip
Merge pull request #2365 from hmhealey/plt2142
PLT-2142 Increased the maximum size of image uploads to 24 megapixels
-rw-r--r--api/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/file.go b/api/file.go
index 5c983ea55..0011afd5b 100644
--- a/api/file.go
+++ b/api/file.go
@@ -52,7 +52,7 @@ const (
RotatedCCWMirrored = 7
RotatedCW = 8
- MaxImageSize = 4096 * 2160 // 4k resolution
+ MaxImageSize = 6048 * 4032 // 24 megapixels, roughly 36MB as a raw image
)
var fileInfoCache *utils.Cache = utils.NewLru(1000)