Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

revert(youtube): drop the unverified chunked-upload guard

Paulo Castellanoa285c0c1fe06
diff --git a/app/Services/Social/YouTubePublisher.php b/app/Services/Social/YouTubePublisher.php
index b4f1496bc..5b4467c57 100644
--- a/app/Services/Social/YouTubePublisher.php
+++ b/app/Services/Social/YouTubePublisher.php
@@ -167,9 +167,6 @@ class YouTubePublisher
while (! $uploadStatus && ! feof($handle)) {
$chunk = fread($handle, self::CHUNK_SIZE);
$uploadStatus = $mediaUpload->nextChunk($chunk);
-
- unset($chunk);
- $this->freeChunkMemory();
}
fclose($handle);