Don't try to validate check when we increment consecutive failures

This commit is contained in:
Colin Darie 2018-08-31 14:26:03 +02:00
parent 3aa1cc376e
commit 95b437bf3d
No known key found for this signature in database
GPG Key ID: 4FB865FDBCA4BCC4
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class Check < ApplicationRecord
def increment_consecutive_failures!
self.consecutive_failures += 1
save!
save!(validate: false)
end
def supported?