mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-01 08:20:49 +02:00
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!
|
def increment_consecutive_failures!
|
||||||
self.consecutive_failures += 1
|
self.consecutive_failures += 1
|
||||||
save!
|
save!(validate: false)
|
||||||
end
|
end
|
||||||
|
|
||||||
def supported?
|
def supported?
|
||||||
|
|
Loading…
Reference in a new issue