Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Fix boto3 pre_should_copy_hook closing the connection too soon
Browse files Browse the repository at this point in the history
  • Loading branch information
vschoener committed Apr 21, 2022
1 parent 5df47b9 commit 469da6c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions collectfast/strategies/boto3.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,3 @@ def get_remote_file_hash(self, prefixed_path: str) -> Optional[str]:
return None
return self._clean_hash(hash_)

def pre_should_copy_hook(self) -> None:
if settings.threads:
logger.info("Resetting connection")
self.remote_storage._connection = None

0 comments on commit 469da6c

Please sign in to comment.