Commit 1d5fff68 authored by Maria Arsuaga Rios's avatar Maria Arsuaga Rios
Browse files

FTS-705: reuse jobs with small files

parent 0c5c6433
......@@ -489,7 +489,7 @@ class JobBuilder(object):
if (self.job['source_se'] and self.job['dest_se']) :
small_files = 0
for file in self.files:
if (self.files[f_index]['user_filesize']) < 104857600:
if (file['user_filesize']) < 104857600:
small_files +=1
if small_files >= len(self.files) - 2:
reuse_flag = 'Y'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment