From 1e5d09c7d962fd81d4365a719fd118af95dd807d Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Sat, 18 May 2024 18:36:19 +0200 Subject: [PATCH] Fix: media download --- composer.lock | 8 ++++---- config.php | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 299d1d9..8db5d21 100644 --- a/composer.lock +++ b/composer.lock @@ -2646,12 +2646,12 @@ "source": { "type": "git", "url": "https://github.com/danog/MadelineProto.git", - "reference": "7db1850e379ddd432b471cf544319896b448bd97" + "reference": "da935c43c3551824ae6032ca8f1e78c5f5af7170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/danog/MadelineProto/zipball/7db1850e379ddd432b471cf544319896b448bd97", - "reference": "7db1850e379ddd432b471cf544319896b448bd97", + "url": "https://api.github.com/repos/danog/MadelineProto/zipball/da935c43c3551824ae6032ca8f1e78c5f5af7170", + "reference": "da935c43c3551824ae6032ca8f1e78c5f5af7170", "shasum": "" }, "require": { @@ -2767,7 +2767,7 @@ "type": "github" } ], - "time": "2024-05-14T20:03:12+00:00" + "time": "2024-05-18T19:20:47+00:00" }, { "name": "danog/primemodule", diff --git a/config.php b/config.php index abeb04c..19e886c 100644 --- a/config.php +++ b/config.php @@ -21,7 +21,7 @@ $settings = [ ], 'rpc' => [ 'flood_timeout' => 5, - 'rpc_drop_timeout' => 11, + 'rpc_drop_timeout' => 20, ], 'connection' => [ 'max_media_socket_count' => 10, @@ -56,6 +56,7 @@ $settings = [ ], 'files' => [ 'report_broken_media' => false, + 'download_parallel_chunks' => 20, ], ], 'api' => [