projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ed6a7
)
fix (Time.now - nil) exception
author
Tom Clegg <tom@clinicalfuture.com>
Tue, 29 Jan 2013 17:09:35 +0000
(09:09 -0800)
committer
Tom Clegg <tom@clinicalfuture.com>
Tue, 29 Jan 2013 17:09:35 +0000
(09:09 -0800)
app/models/pipeline_invocation.rb
patch
|
blob
|
history
diff --git
a/app/models/pipeline_invocation.rb
b/app/models/pipeline_invocation.rb
index 06e714d6ed196931fa3e748f0b3fb7894bdf3312..1c79182414b57ea301c87e8d944e75958631edd9 100644
(file)
--- a/
app/models/pipeline_invocation.rb
+++ b/
app/models/pipeline_invocation.rb
@@
-60,7
+60,7
@@
class PipelineInvocation < OrvosModel
end
def active
- success.nil? and Time.now - modified_at < 5.minutes
+ success.nil? and
modified_at and
Time.now - modified_at < 5.minutes
end
protected