File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/fts3rest/fts3rest/lib Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -512,10 +512,10 @@ def _populate_transfers(self, files_list):
512512
513513 auto_session_reuse = pylons .config .get ('fts3.AutoSessionReuse' , 'false' )
514514 log .debug ("AutoSessionReuse is " + str (auto_session_reuse )+ " job_type is" + str (job_type ))
515- max_reuse_files = pylons .config .get ('fts3.AutoSessionReuseMaxFiles' , 1000 )
516- max_size_small_file = pylons .config .get ('fts3.AutoSessionReuseMaxSmallFileSize' , 104857600 ) #100MB
517- max_size_big_file = pylons .config .get ('fts3.AutoSessionReuseMaxBigFileSize' , 1073741824 ) #1GB
518- max_big_files = pylons .config .get ('fts3.AutoSessionReuseMaxBigFiles' , 2 )
515+ max_reuse_files = int ( pylons .config .get ('fts3.AutoSessionReuseMaxFiles' , 1000 ) )
516+ max_size_small_file = int ( pylons .config .get ('fts3.AutoSessionReuseMaxSmallFileSize' , 104857600 ) ) #100MB
517+ max_size_big_file = int ( pylons .config .get ('fts3.AutoSessionReuseMaxBigFileSize' , 1073741824 ) ) #1GB
518+ max_big_files = int ( pylons .config .get ('fts3.AutoSessionReuseMaxBigFiles' , 2 ) )
519519 if (auto_session_reuse == 'true' and self .job ['source_se' ] and self .job ['dest_se' ] and (job_type is None ) and (len (self .files ) > 1 )) :
520520 if len (self .files ) > max_reuse_files :
521521 self .job ['job_type' ] == 'N'
You can’t perform that action at this time.
0 commit comments