wait methods are probably not working, just wait
This commit is contained in:
parent
83a1fce1a3
commit
deda583fad
|
@ -83,9 +83,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
|
|||
$result = $this->connection->createBucket(array(
|
||||
'Bucket' => $this->bucket
|
||||
));
|
||||
$this->connection->waitUntilBucketExists(array(
|
||||
'Bucket' => $this->bucket
|
||||
));
|
||||
sleep(5);
|
||||
}
|
||||
|
||||
if ( ! $this->file_exists('.')) {
|
||||
|
|
|
@ -59,9 +59,7 @@ class AmazonS3 extends Storage {
|
|||
'Bucket' => $this->config['amazons3']['bucket']
|
||||
));
|
||||
|
||||
$connection->waitUntilBucketNotExists(array(
|
||||
'Bucket' => $this->config['amazons3']['bucket']
|
||||
));
|
||||
sleep(5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue