Optimise runner update cached info

What does this MR do?

This tries to resolve this concern (that is part of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18901):

Are these validations going to cause any serious performance problems? I think we save a runner every time contacted_at changes and we are loading these relations every time. Seems problematic? Are there other such instances these validations will trigger since we assume that runners are saved infrequently otherwise.

The change removes validation for cached data, as this is not really needed in that context.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Grzegorz Bizon

Merge request reports

Loading