Skip to content

Commit e6ca1a1

Browse files
committed
Update feed size
1 parent 0c5a77e commit e6ca1a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ composer require typisttech/wordfence-api
5757
> php -d memory_limit=512MB your-script.php
5858
> ```
5959
60-
As of December 2024, the [production Wordfence vulnerability data feed](https://www.wordfence.com/api/intelligence/v2/vulnerabilities/production) is over 80 MB.
60+
As of October 2025, the [production Wordfence vulnerability data feed](https://www.wordfence.com/api/intelligence/v2/vulnerabilities/production) is over 117 MB.
6161
[`Client`](src/Client.php) downloads the feed into memory and `json_decode()` the entire feed all in one go.
6262
It causes PHP to run out of memory.
6363

tests/E2E/ClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
expect($actualCount)->toBeGreaterThanOrEqual($expectedCount);
2424
})->with([
25-
Feed::Production->name => [Feed::Production, 20500],
26-
Feed::Scanner->name => [Feed::Scanner, 20500],
25+
Feed::Production->name => [Feed::Production, 30109],
26+
Feed::Scanner->name => [Feed::Scanner, 30086],
2727
]);
2828
});

0 commit comments

Comments
 (0)