-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension causes high cpu load #40
Comments
GreeKatrina
changed the title
Extension causes high cpu load - Ruby
Extension causes high cpu load
Apr 16, 2019
The code I was editing looked similar to this: module Parent
module Child
ATTRIBUTES = %w(
attr_a
# ...
).freeze
CustomErrorA = Class.new(StandardError)
def self.foo!(a:, b:, c: Time.zone.now)
raise CustomErrorA unless b.in?(Bar::Baz::ALL)
new_foo = a.with_lock do
raise CustomErrorA if a.date < c
a.create!(
# ...
)
end
end
end
end It seemed to be tripping up when I was messing with raising the errors. Hope that helps. |
thanks for your reporting and details, will check it later. |
see discuss here #19 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Performance
rails
link0.13.0
Darwin x64 18.2.0
1.33.1
This issue keeps happening while editing ruby code.
bung87.rails-unresponsive.cpuprofile.txt
The text was updated successfully, but these errors were encountered: