wait methods are probably not working, just wait

remotes/origin/stable6
Christian Berendt 12 years ago
parent 83a1fce1a3
commit deda583fad
  1. 4
      apps/files_external/lib/amazons3.php
  2. 4
      apps/files_external/tests/amazons3.php

@ -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…
Cancel
Save