Increasing size of api log fields (mediumtext, 16MB)

This commit is contained in:
2023-05-05 15:39:42 -05:00
parent a1b96c6cee
commit 6acf0bf93a
2 changed files with 7 additions and 6 deletions

View File

@ -219,8 +219,8 @@ public class ApiInstanceMetaDataProvider
///////////////////////////////////////////
// these are the lengths of a MySQL TEXT //
///////////////////////////////////////////
tableMetaData.getField("requestBody").withMaxLength(65_535).withBehavior(ValueTooLongBehavior.TRUNCATE_ELLIPSIS);
tableMetaData.getField("responseBody").withMaxLength(65_535).withBehavior(ValueTooLongBehavior.TRUNCATE_ELLIPSIS);
tableMetaData.getField("requestBody").withMaxLength(16_777_215).withBehavior(ValueTooLongBehavior.TRUNCATE_ELLIPSIS);
tableMetaData.getField("responseBody").withMaxLength(16_777_215).withBehavior(ValueTooLongBehavior.TRUNCATE_ELLIPSIS);
//////////////////////////////////////////////////////////////////////////////////////////////
// internet doesn't agree on max-length for a URL, but let's go with ... 4K on query string //