We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab280b commit 32f8dd6Copy full SHA for 32f8dd6
lib/datasets/downloader.rb
@@ -111,7 +111,8 @@ def download(output_path, &block)
111
rescue ArgumentError
112
# The process that acquired the lock will be exited before
113
# it stores its process ID.
114
- valid_lock_path = (lock_path.mtime > 10)
+ elapsed_time = Time.now - lock_path.mtime
115
+ valid_lock_path = (elapsed_time > 10)
116
else
117
begin
118
Process.getpgid(pid)
0 commit comments