Merge pull request #5 from kyler-instructure/add_specific_build_time
Add specific build time
This commit is contained in:
commit
144a188a33
|
@ -210,6 +210,7 @@ module RSpecQ
|
|||
@redis.multi do
|
||||
@redis.lpush(key_build_times, Float(duration))
|
||||
@redis.ltrim(key_build_times, 0, 99)
|
||||
@redis.set(key_build_time, Integer(duration * 1000))
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -407,6 +408,10 @@ module RSpecQ
|
|||
"build_times"
|
||||
end
|
||||
|
||||
def key_build_time
|
||||
key("build_time")
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def key(*keys)
|
||||
|
|
Loading…
Reference in New Issue