diff --git a/src/lang/en.json b/src/lang/en.json index e68cc6be9..342e8267e 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -104,7 +104,7 @@ "saveErrorResponseForNotifications": "Save HTTP Error Response for Notifications", "saveResponseDescription": "Stores the HTTP response and makes it available to notification templates as {templateVariable}", "responseMaxLength": "Response Max Length (bytes)", - "responseMaxLengthDescription": "Maximum size of response data to store. Set to 0 for unlimited. Larger responses will be truncated. Default: 10240 (10KB)", + "responseMaxLengthDescription": "Maximum size of response data to store. Set to 0 for unlimited. Larger responses will be truncated. Default: 1024 (1KB)", "Accepted Status Codes": "Accepted Status Codes", "Push URL": "Push URL", "needPushEvery": "You should call this URL every {0} seconds.", diff --git a/src/util.js b/src/util.js index 373ffdc71..df90a740c 100644 --- a/src/util.js +++ b/src/util.js @@ -43,7 +43,7 @@ exports.PING_COUNT_DEFAULT = 1; exports.PING_PER_REQUEST_TIMEOUT_MIN = 1; exports.PING_PER_REQUEST_TIMEOUT_MAX = 60; exports.PING_PER_REQUEST_TIMEOUT_DEFAULT = 2; -exports.RESPONSE_BODY_LENGTH_DEFAULT = 1024 * 10; +exports.RESPONSE_BODY_LENGTH_DEFAULT = 1024; exports.RESPONSE_BODY_LENGTH_MAX = 1024 * 1024; exports.CONSOLE_STYLE_Reset = "\x1b[0m"; exports.CONSOLE_STYLE_Bright = "\x1b[1m"; diff --git a/src/util.ts b/src/util.ts index 1cd86f6e9..c68017341 100644 --- a/src/util.ts +++ b/src/util.ts @@ -70,7 +70,7 @@ export const PING_PER_REQUEST_TIMEOUT_DEFAULT = 2; * Response body length cutoff used by default (10kb) * (measured in bytes) */ -export const RESPONSE_BODY_LENGTH_DEFAULT = 1024 * 10; +export const RESPONSE_BODY_LENGTH_DEFAULT = 1024; /** * Maximum allowed response body length to store (1mb) * (measured in bytes)