DEV: Remove Poll scope ignore pattern from Logster config

We fixed the root cause in 2971d03307, so there is no need for this pattern any more
This commit is contained in:
David Taylor 2021-12-29 11:09:15 +00:00
parent f6db99b56a
commit 86505dd394
1 changed files with 0 additions and 8 deletions

View File

@ -73,14 +73,6 @@ if Rails.env.production?
# we handle this cleanly in the message bus middleware
# no point logging to logster
/RateLimiter::LimitExceeded.*/m,
# see https://github.com/rails/rails/issues/34599
# Poll defines an enum with the value `open` ActiveRecord then attempts
# AR then warns cause #open is being redefined, it is already defined
# privately in Kernel per: http://ruby-doc.org/core-2.5.3/Kernel.html#method-i-open
# Once the rails issue is fixed we can stop this error suppression and stop defining
# scopes for the enums
/^Creating scope :open\. Overwriting existing method Poll\.open\./,
]
Logster.config.env_expandable_keys.push(:hostname, :problem_db)
end