Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit c0110f8

Browse files
authored
fix: Update DATA_UPLOAD_MAX_MEMORY_SIZE to 25 MB (#740)
1 parent 2c80c02 commit c0110f8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

codecov/settings_prod.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
# Redirect after authentication, update this setting with care
5454
CORS_ALLOWED_ORIGIN_REGEXES = []
5555

56-
DATA_UPLOAD_MAX_MEMORY_SIZE = 15000000
56+
# 25MB in bytes
57+
DATA_UPLOAD_MAX_MEMORY_SIZE = 26214400
58+
5759
SILENCED_SYSTEM_CHECKS = ["urls.W002"]
5860

5961
# Reinforcing the Cookie SameSite configuration to be sure it's Lax in prod

codecov/settings_staging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
"http://localhost:3000",
6363
]
6464

65-
DATA_UPLOAD_MAX_MEMORY_SIZE = 15000000
65+
# 25MB in bytes
66+
DATA_UPLOAD_MAX_MEMORY_SIZE = 26214400
6667

6768
# Same site is set to none on Staging as we want to be able to call the API
6869
# From Netlify preview deploy

webhook_handlers/views/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def member(self, request, *args, **kwargs):
735735

736736
def post(self, request, *args, **kwargs):
737737
self.event = self.request.META.get(GitHubHTTPHeaders.EVENT)
738-
log.debug(
738+
log.info(
739739
"GitHub Webhook Handler invoked",
740740
extra=dict(
741741
github_webhook_event=self.event,

0 commit comments

Comments
 (0)