Skip to content

Commit

Permalink
CS and put back retry sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
frankdejonge committed Dec 3, 2023
1 parent 416754a commit 582d1ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/DecoratedAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace League\Flysystem;

use League\Flysystem\Config;
use League\Flysystem\FileAttributes;

abstract class DecoratedAdapter implements FilesystemAdapter
{
public function __construct(protected FilesystemAdapter $adapter)
Expand Down
2 changes: 1 addition & 1 deletion src/PhpseclibV3/SftpConnectionProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public function runWithRetries(callable $scenario, string $expected = null): voi
} catch (Throwable $exception) {
if (($expected === null || is_a($exception, $expected) === false) && $tries < 10) {
$tries++;
// sleep($tries);
sleep($tries);
goto start;
}

Expand Down

0 comments on commit 582d1ec

Please sign in to comment.