Skip to content

Commit

Permalink
Merge pull request #963 from appsignal/do-not-run-minutely-probes-on-…
Browse files Browse the repository at this point in the history
…console

Do not run minutely probes on console
  • Loading branch information
unflxw committed May 2, 2023
2 parents d6d7ef5 + 4cd1601 commit d8ecc7b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changesets/do-not-run-minutely-probes-on-rails-console.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
bump: "patch"
type: "fix"
---

Do not run minutely probes on Rails console
4 changes: 4 additions & 0 deletions lib/appsignal/integrations/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ class Railtie < ::Rails::Railtie
Appsignal::Integrations::Railtie.initialize_appsignal(app)
end

console do
Appsignal::Minutely.stop
end

def self.initialize_appsignal(app)
# Load config
Appsignal.config = Appsignal::Config.new(
Expand Down

0 comments on commit d8ecc7b

Please sign in to comment.