Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -1,9 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Framework\Filesystem;
|
||||
|
||||
use App\Framework\Async\FiberManager;
|
||||
|
||||
interface Storage
|
||||
{
|
||||
/**
|
||||
* Permissions-Checker für dieses Storage
|
||||
*/
|
||||
public PermissionChecker $permissions { get; }
|
||||
|
||||
/**
|
||||
* Fiber-Manager für asynchrone Operationen
|
||||
*/
|
||||
public FiberManager $fiberManager { get; }
|
||||
|
||||
/**
|
||||
* Liest den Inhalt einer Datei
|
||||
*/
|
||||
@@ -75,4 +89,35 @@ interface Storage
|
||||
* Erstellt ein Directory-Objekt mit Lazy-Loading
|
||||
*/
|
||||
public function directory(string $path): Directory;
|
||||
|
||||
/**
|
||||
* Führt mehrere Operationen parallel aus (explizite Batch-Operation)
|
||||
*
|
||||
* @param array<string, callable> $operations
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function batch(array $operations): array;
|
||||
|
||||
/**
|
||||
* Lädt mehrere Dateien parallel
|
||||
*
|
||||
* @param array<string> $paths
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function getMultiple(array $paths): array;
|
||||
|
||||
/**
|
||||
* Speichert mehrere Dateien parallel
|
||||
*
|
||||
* @param array<string, string> $files [path => content]
|
||||
*/
|
||||
public function putMultiple(array $files): void;
|
||||
|
||||
/**
|
||||
* Lädt Metadata für mehrere Dateien parallel
|
||||
*
|
||||
* @param array<string> $paths
|
||||
* @return array<string, FileMetadata>
|
||||
*/
|
||||
public function getMetadataMultiple(array $paths): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user