File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,9 @@ gem 'slack-notifier'
5454gem 'redcarpet' #markdown formatting
5555
5656# Analytics
57- gem 'raygun4ruby'
57+ gem 'raygun4ruby' #todo remove
5858gem 'mixpanel-ruby'
59+ gem 'barnes'
5960
6061# Sharing
6162gem 'social-share-button'
Original file line number Diff line number Diff line change 8383 babel-source (>= 4.0 , < 6 )
8484 execjs (~> 2.0 )
8585 backports (3.11.3 )
86+ barnes (0.0.7 )
87+ multi_json (~> 1 )
88+ statsd-ruby (~> 1.1 )
8689 bcrypt (3.1.12 )
8790 better_errors (2.4.0 )
8891 coderay (>= 1.0.0 )
443446 sprockets (>= 3.0.0 )
444447 sqlite3 (1.3.13 )
445448 stackprof (0.2.12 )
449+ statsd-ruby (1.4.0 )
446450 stripe (3.15.0 )
447451 faraday (~> 0.10 )
448452 stripe_event (2.1.1 )
@@ -509,6 +513,7 @@ DEPENDENCIES
509513 authority
510514 aws-sdk (~> 1.5 )
511515 aws-sdk-s3
516+ barnes
512517 better_errors
513518 binding_of_caller
514519 bullet (>= 5.4 )
Original file line number Diff line number Diff line change 11require 'puma/plugin/heroku'
22
3+ require 'barnes'
4+ before_fork do
5+ Barnes . start
6+ end
7+
38workers Integer ( ENV [ 'WEB_CONCURRENCY' ] || 0 )
49threads_count = Integer ( ENV [ 'RAILS_MAX_THREADS' ] || 5 )
510threads threads_count , threads_count
You can’t perform that action at this time.
0 commit comments