[tor-commits] [donate/master] Turned off the campaign total fetching

peterh at torproject.org peterh at torproject.org
Mon Mar 4 22:52:36 UTC 2019


commit 75f6ca21b2bd7971a62eb1808efd86cea626edd7
Author: peterh <peterh at giantrabbit.com>
Date:   Mon Feb 18 11:10:29 2019 -0800

    Turned off the campaign total fetching
    
    Someone at Tor complained that if you leave the window open for a long
    time it uses a bunch of memory
    (https://trac.torproject.org/projects/tor/ticket/29479).
    
    Also we don't need this while the campaign is off.
---
 src/js/payment_controller.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/js/payment_controller.js b/src/js/payment_controller.js
index 0351ad70..2353a0a7 100644
--- a/src/js/payment_controller.js
+++ b/src/js/payment_controller.js
@@ -146,7 +146,6 @@ function PaymentController(paypalMerchantId, environmentName, stripePublishableK
 }
 
 PaymentController.prototype.init = function() {
-  this.setupCampaignTotals();
   this.setInitialPromoAdjustments();
   this.setPriceSet();
   this.setRecurring();





More information about the tor-commits mailing list