mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 16:38:23 +00:00
Setup autotuner for honeybadger
This commit is contained in:
parent
9dfabf49f9
commit
af7c43a38f
3 changed files with 9 additions and 0 deletions
2
Gemfile
2
Gemfile
|
|
@ -126,3 +126,5 @@ end
|
|||
gem "htmlcompressor", "~> 0.4.0"
|
||||
|
||||
gem "doorkeeper", "~> 5.8"
|
||||
|
||||
gem "autotuner", "~> 1.0"
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ GEM
|
|||
device_detector (>= 1)
|
||||
safely_block (>= 0.4)
|
||||
ast (2.4.3)
|
||||
autotuner (1.0.2)
|
||||
base64 (0.3.0)
|
||||
bcrypt_pbkdf (1.1.1)
|
||||
bcrypt_pbkdf (1.1.1-arm64-darwin)
|
||||
|
|
@ -523,6 +524,7 @@ DEPENDENCIES
|
|||
activerecord-import
|
||||
ahoy_captain!
|
||||
ahoy_matey
|
||||
autotuner (~> 1.0)
|
||||
bootsnap
|
||||
brakeman
|
||||
bullet
|
||||
|
|
|
|||
5
config/initializers/autotuner.rb
Normal file
5
config/initializers/autotuner.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Enable autotuner. Alternatively, call Autotuner.sample_ratio= with a value
|
||||
# between 0 and 1.0 to sample on a portion of instances.
|
||||
Autotuner.enabled = true
|
||||
|
||||
# The rest is handled by the honeybadger gem.
|
||||
Loading…
Add table
Reference in a new issue