summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-11-19 10:26:47 -0500
committerPliable Pixels <pliablepixels@gmail.com>2016-11-19 10:26:47 -0500
commit53dba9853bd78dac6d1df70baef43f181ca810f4 (patch)
treef7eaf983113c1f84ba4a1d502c581f5c40bf531c /www/js/app.js
parent662af8fdebb58e9129c437e17471ab3df5c3fddf (diff)
restricted gif size to max 50 images. If larger, it will keep deleting subsequent frames till <=50 is reached. Otherwise memory consumption can go nuts. #379
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 261cf16c..e606ea33 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -92,7 +92,8 @@ angular.module('zmApp', [
eventSingleImageQualityLowBW: 70,
monSingleImageQualityLowBW: 70,
montageQualityLowBW: 50,
- eventMontageQualityLowBW: 50
+ eventMontageQualityLowBW: 50,
+ maxGifCount:50,
})