diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-05-08 12:23:07 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-05-08 12:23:23 +0200 |
commit | 71be7a1c224813e627c9d258a32189f1949338ff (patch) | |
tree | 15a7e0737eb09e813ce2a3598a82ed1597529ed6 /app | |
parent | 7be65f5d8fd7789b6f630ea04b7bcec8847ab436 (diff) | |
download | gitlab-ce-71be7a1c224813e627c9d258a32189f1949338ff.tar.gz |
Move Runner#contacted_at to RedisCacheable#cached_attr_time_reader
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/runner.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb index 23078f1c3ed..ce3e595a2e1 100644 --- a/app/models/ci/runner.rb +++ b/app/models/ci/runner.rb @@ -74,7 +74,8 @@ module Ci project_type: 3 } - cached_attr_reader :version, :revision, :platform, :architecture, :contacted_at, :ip_address + cached_attr_reader :version, :revision, :platform, :architecture, :ip_address + cached_attr_time_reader :contacted_at chronic_duration_attr :maximum_timeout_human_readable, :maximum_timeout |