From 53dba9853bd78dac6d1df70baef43f181ca810f4 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 19 Nov 2016 10:26:47 -0500 Subject: 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 --- www/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/app.js') 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, }) -- cgit v1.2.3