diff --git a/lib/client.js b/lib/client.js index 2ddb54a..e7b31f8 100644 --- a/lib/client.js +++ b/lib/client.js @@ -48,7 +48,8 @@ extend(Raven.prototype, { http: false, pg: false }; - this.maxBreadcrumbs = Math.max(0, Math.min(options.maxBreadcrumbs || 100, 100)); + // default to 30, don't allow higher than 100 + this.maxBreadcrumbs = Math.max(0, Math.min(options.maxBreadcrumbs || 30, 100)); this.autoBreadcrumbs = extend({}, autoBreadcrumbDefaults); if (typeof options.autoBreadcrumbs !== 'undefined') { for (var key in autoBreadcrumbDefaults) {