let pipeline_invocation#active be a regular attribute
[arvados.git] / app / models / pipeline_invocation.rb
index 06e714d6ed196931fa3e748f0b3fb7894bdf3312..c355056d348b7a9d69290b7cfa3f09f579206f7e 100644 (file)
@@ -59,10 +59,6 @@ class PipelineInvocation < OrvosModel
     t.collect { |r| r[2] }.inject(0.0) { |sum,a| sum += a } / t.size
   end
 
-  def active
-    success.nil? and Time.now - modified_at < 5.minutes
-  end
-
   protected
   def bootstrap_components
     if pipeline and (!components or components.empty?)