Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: reduce instance change history truncate length (#8665)

p0ny0108b716baff
diff --git a/backend/store/instance_change_history.go b/backend/store/instance_change_history.go
index d4c5e36507..9f05d2f9eb 100644
--- a/backend/store/instance_change_history.go
+++ b/backend/store/instance_change_history.go
@@ -55,8 +55,8 @@ type InstanceChangeHistoryMessage struct {
IssueProjectID string
}
-// instanceChangeHistoryTruncateLength is the maximum size (1M) of a sheet for displaying.
-const instanceChangeHistoryTruncateLength = 1024 * 1024
+// instanceChangeHistoryTruncateLength is the maximum characters of a sheet for displaying.
+const instanceChangeHistoryTruncateLength = 2048
// FindInstanceChangeHistoryMessage is for listing a list of instance change history.
type FindInstanceChangeHistoryMessage struct {