Skip to content

Commit

Permalink
Prevent large feeds from getting disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Jan 28, 2024
1 parent f85a695 commit 751e53a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ export class FeedFetcherService {

const sizeOfTextInMb = Buffer.byteLength(text) / 1024 / 1024;

if (sizeOfTextInMb > 7) {
throw new FeedTooLargeException(`Response body is too large`);
}
// if (sizeOfTextInMb > 7) {
// throw new FeedTooLargeException(`Response body is too large`);
// }

try {
const deflated = await deflatePromise(text);
Expand Down

0 comments on commit 751e53a

Please sign in to comment.