optimize ingesting documents
This commit is contained in:
@@ -11,8 +11,10 @@ use Symfony\Component\Uid\Uuid;
|
||||
final readonly class ChunkWriteService
|
||||
{
|
||||
public function __construct(
|
||||
private ChunkManager $chunkManager,
|
||||
) {}
|
||||
private ChunkManager $chunkManager
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
public function countAllChunks(): int
|
||||
{
|
||||
@@ -41,4 +43,5 @@ final readonly class ChunkWriteService
|
||||
{
|
||||
$this->chunkManager->rewriteAll($allChunks);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user