projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a7ce0
)
let pipeline_invocation#active be a regular attribute
author
Tom Clegg <tom@clinicalfuture.com>
Sun, 17 Feb 2013 21:33:30 +0000
(13:33 -0800)
committer
Tom Clegg <tom@clinicalfuture.com>
Sun, 17 Feb 2013 21:33:30 +0000
(13:33 -0800)
app/models/pipeline_invocation.rb
patch
|
blob
|
history
diff --git
a/app/models/pipeline_invocation.rb
b/app/models/pipeline_invocation.rb
index 1c79182414b57ea301c87e8d944e75958631edd9..c355056d348b7a9d69290b7cfa3f09f579206f7e 100644
(file)
--- a/
app/models/pipeline_invocation.rb
+++ b/
app/models/pipeline_invocation.rb
@@
-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 modified_at and Time.now - modified_at < 5.minutes
- end
-
protected
def bootstrap_components
if pipeline and (!components or components.empty?)