@@ -129,6 +129,7 @@ module Blazer
break
end
+ check.reload # in case state has changed since job started
check.update_state(result)
# TODO use proper logfmt
Rails.logger.info "[blazer check] query=#{check.query.name} state=#{check.state} rows=#{result.rows.try(:size)} error=#{result.error}"