-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix S3 copy and rename overwriting target directory #10104
Conversation
🚀 Test Passed. 🚀 |
@@ -52,7 +52,7 @@ class AmazonS3 extends \OC\Files\Storage\Common { | |||
/** | |||
* @var int | |||
*/ | |||
private $timeout = 15; | |||
private $timeout = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason that it defaults to 15 in the constructor below (https://github.com/owncloud/core/pull/10104/files#diff-440d6acd86f4ca1cb35ebcdaaaed8e54R93) but it was changed to 1 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it during debuging, reverted the change
8d40be7
to
6d60630
Compare
A new inspection was created. |
🚀 Test Passed. 🚀 |
👍 |
👍 |
Fix S3 copy and rename overwriting target directory
Does this need a backport? |
yes, I'll do that |
Also skip a test for unsupported feature (mtime update of changed directory)
With this the unit tests for S3 pass for me locally.
cc @butonic @DeepDiver1975