Bug 1223800 - Accept BHR reports from 50% of beta clients. Up from 1%. r=vladan
authorChris H-C <chutten@mozilla.com>
Fri, 13 Nov 2015 12:09:54 -0500
changeset 308996 0f1f2c3775488a0b6a20c06c7b7dc0c7581e8bd5
parent 308942 5fb6f8b316ca76a5a4c47464900eaed2774d844f
child 308997 f4ebed413317b3f7832fee76646eee1a568cc33f
push id7552
push usergijskruitbosch@gmail.com
push dateMon, 16 Nov 2015 14:03:48 +0000
reviewersvladan
bugs1223800
milestone45.0a1
Bug 1223800 - Accept BHR reports from 50% of beta clients. Up from 1%. r=vladan
xpcom/threads/BackgroundHangMonitor.cpp
--- a/xpcom/threads/BackgroundHangMonitor.cpp
+++ b/xpcom/threads/BackgroundHangMonitor.cpp
@@ -24,17 +24,17 @@
 #include "nsIObserverService.h"
 #include "nsIObserver.h"
 #include "mozilla/Services.h"
 #include "nsXULAppAPI.h"
 
 #include <algorithm>
 
 // Activate BHR only for one every BHR_BETA_MOD users.
-#define BHR_BETA_MOD 100;
+#define BHR_BETA_MOD 2;
 
 // Maximum depth of the call stack in the reported thread hangs. This value represents
 // the 99.9th percentile of the thread hangs stack depths reported by Telemetry.
 static const size_t kMaxThreadHangStackDepth = 30;
 
 // An utility comparator function used by std::unique to collapse "(* script)" entries in
 // a vector representing a call stack.
 bool StackScriptEntriesCollapser(const char* aStackEntry, const char *aAnotherStackEntry)