Improve uploads/deletions

This commit is contained in:
René Preuß committed 2021-07-21 19:27:28 +02:00
1 parent d2767b326b
commit 53cff7d805
8 files changed
+170 -62

No files matched your search

+3 -1
View File
@@ -32,6 +32,8 @@ class DeployCommand extends Command
*/
public function handle(): int
{
$start = microtime(true);
$edgeStorage = new EdgeStorage();
$localStorage = new LocalStorage();
$fileCompare = new FileCompare($localStorage, $edgeStorage, $this);
@@ -45,7 +47,7 @@ class DeployCommand extends Command
$edgePath = sprintf('/%s', config('bunny.storage.username'));
$fileCompare->compare($localPath, $edgePath);
$fileCompare->compare($localPath, $edgePath, $start);
return 0;
}