Skip to content

Commit

Permalink
Merge pull request #736 from podverse/develop
Browse files Browse the repository at this point in the history
Release v4.16.7
  • Loading branch information
mitchdowney authored Apr 17, 2024
2 parents 5616f2b + 4217dc9 commit 2d4c6f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "podverse-api",
"version": "4.16.6",
"version": "4.16.7",
"description": "Data API, database migration scripts, and backend services for all Podverse models.",
"contributors": [
"Mitch Downey"
Expand Down
2 changes: 1 addition & 1 deletion src/services/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export const parseFeedUrl = async (feedUrl, forceReparsing = false, cacheBust =

if (
podcast.flag_status !== 'always-allow' &&
(parsedEpisodes?.length >= 1 || parsedLiveItemEpisodes?.length >= 1)
(parsedEpisodes?.length >= 10000 || parsedLiveItemEpisodes?.length >= 10000)
) {
console.log('Aborting parser: too many episodes. Marking podcast as spam.')
podcast.flag_status = 'spam'
Expand Down

0 comments on commit 2d4c6f4

Please sign in to comment.