wait methods are probably not working, just wait

This commit is contained in:
Christian Berendt 2013-07-08 15:56:56 +02:00
parent 83a1fce1a3
commit deda583fad
2 changed files with 2 additions and 6 deletions

View File

@ -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('.')) {

View File

@ -59,9 +59,7 @@ class AmazonS3 extends Storage {
'Bucket' => $this->config['amazons3']['bucket']
));
$connection->waitUntilBucketNotExists(array(
'Bucket' => $this->config['amazons3']['bucket']
));
sleep(5);
}
}
}