mirror of https://github.com/Evolix/chexpire.git
Don't try to validate check when we increment consecutive failures
This commit is contained in:
parent
3aa1cc376e
commit
95b437bf3d
|
@ -87,7 +87,7 @@ class Check < ApplicationRecord
|
|||
|
||||
def increment_consecutive_failures!
|
||||
self.consecutive_failures += 1
|
||||
save!
|
||||
save!(validate: false)
|
||||
end
|
||||
|
||||
def supported?
|
||||
|
|
Loading…
Reference in New Issue