From d2b23f358513124ca0640336a33159b63713a52f Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 13 Nov 2024 11:02:36 +0100 Subject: [PATCH] tec: Decrease the Pocket retrieve count parameter See: https://getpocket.com/developer/docs/v3/retrieve > Only return count number of items. Note: There is a 30 item per > request limit, any requests that go beyond this will be truncated to > 30. --- src/jobs/PocketImportator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jobs/PocketImportator.php b/src/jobs/PocketImportator.php index 5f5b0954..076a6530 100644 --- a/src/jobs/PocketImportator.php +++ b/src/jobs/PocketImportator.php @@ -56,7 +56,7 @@ public function perform(int $importation_id): void $pocket_service = new services\Pocket($consumer_key); $offset = 0; - $count = 500; + $count = 30; $imported_count = 0; $error = ''; $exit_loop = false;