mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
only send a 5% sample of sentry errors
This commit is contained in:
parent
7e31851949
commit
cd4ab35fbc
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
],
|
||||
shouldSendCallback: function(data) {
|
||||
// only send a fraction of errors
|
||||
var sampleRate = 1.00;
|
||||
var sampleRate = 0.05;
|
||||
return (Math.random() <= sampleRate);
|
||||
},
|
||||
dataCallback: function(data) {
|
||||
|
|
Loading…
Reference in a new issue