Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4432 from dmwm/revert-4421-reuse-gridftp-sessions
Browse files Browse the repository at this point in the history
Revert "Enable session reuse in FTS3."
  • Loading branch information
HassenRiahi committed Aug 25, 2015
2 parents 801e2d0 + 164c631 commit 6b5cccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/AsyncStageOut/TransferWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def command(self, jobs, jobs_lfn, jobs_pfn, jobs_report):
# Validate copyjob file before doing anything
self.logger.debug("Valid %s" % self.validate_copyjob(copyjob))
if not self.validate_copyjob(copyjob): continue
rest_copyjob = '{"params":{"bring_online":null,"verify_checksum":false,"reuse":true,"copy_pin_lifetime":-1,"max_time_in_queue":20,"job_metadata":{"issuer": "ASO"},"spacetoken":null,"source_spacetoken":null,"fail_nearline":false,"overwrite":true,"gridftp":null},"files":['
rest_copyjob = '{"params":{"bring_online":null,"verify_checksum":false,"reuse":false,"copy_pin_lifetime":-1,"max_time_in_queue":20,"job_metadata":{"issuer": "ASO"},"spacetoken":null,"source_spacetoken":null,"fail_nearline":false,"overwrite":true,"gridftp":null},"files":['
pairs = []
for SrcDest in copyjob:
pairs.append('{"sources":["' + SrcDest.split(" ")[0] + '"],"metadata":null,"destinations":["' + SrcDest.split(" ")[1] + '"]}')
Expand Down

0 comments on commit 6b5cccc

Please sign in to comment.