summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--static/js/combo.public.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/static/js/combo.public.js b/static/js/combo.public.js
index 1b2f59f..ce96a74 100644
--- a/static/js/combo.public.js
+++ b/static/js/combo.public.js
@@ -49,11 +49,11 @@ $(function() {
  suffix : ' demandes'
};
function get_current_count() { // (saas only)
- var base_number = 1000000;
- var base_date = new Date("2019-08-30T00:00:00");
+ var base_number = 1780000;
+ var base_date = new Date("2020-06-19T00:00:00");
var diff = (Date.now() - base_date.getTime()) / 1000;
- /* rate on base date: 1 request every 50 seconds */
- return base_number + (diff / 50);
+ /* approx rate on base date: 1 request every 30 seconds */
+ return base_number + (diff / 30);
}
//var count = new CountUp("counter", 1234, parseInt(total), 0, 4.5, options);
var count = new CountUp("counter", 1, parseInt(get_current_count()), 0, 4.5, options);