Skip to content

Commit ec90d3f

Browse files
committed
Increase http body and message length to 2048
1 parent bdc573f commit ec90d3f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/developer/client/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,5 +564,5 @@ as things like extra data, or tags.
564564
- Culprits are limited to 200 characters.
565565
- Most contextual variables are limited to 512 characters.
566566
- Extra contextual data is limited to 2048 characters.
567-
- Messages are limited to 1024 characters.
568-
- Http data (the body) is limited to 1024 characters.
567+
- Messages are limited to 2048 characters.
568+
- Http data (the body) is limited to 2048 characters.

src/sentry/coreapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
logger = logging.getLogger('sentry.coreapi.errors')
3232

3333
MAX_CULPRIT_LENGTH = 200
34-
MAX_MESSAGE_LENGTH = 1024
34+
MAX_MESSAGE_LENGTH = 2048
3535

3636
INTERFACE_ALIASES = {
3737
'exception': 'sentry.interfaces.Exception',

src/sentry/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def normalize_event_data(self, data):
462462

463463
value = http_data.get('data')
464464
if value:
465-
http_data['data'] = trim(value, 1024)
465+
http_data['data'] = trim(value, 2048)
466466

467467
return data
468468

0 commit comments

Comments
 (0)