Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
drop file size limit to combat timeout issues
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Reynolds <[email protected]>
  • Loading branch information
shenanigansd authored May 1, 2023
1 parent b5ace6b commit 185d1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dragonfly/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from dragonfly.models import MaliciousFile, PackageAnalysisResults

PACKAGE_SIZE_LIMIT = 2**28 # 0.25 GiB
PACKAGE_SIZE_LIMIT = 1e8 # 0.1 GiB


async def fetch_package_distribution(http_session: aiohttp.ClientSession, package_source_download_url: str) -> BytesIO:
Expand Down

0 comments on commit 185d1ef

Please sign in to comment.