Skip to content

Commit

Permalink
tec: Decrease the Pocket retrieve count parameter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
marienfressinaud committed Nov 13, 2024
1 parent 05c2de5 commit d2b23f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/PocketImportator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d2b23f3

Please sign in to comment.