Skip to content

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

chore: update (#6790)

Danny Xu5fb9d1c86241
diff --git a/backend/common/util.go b/backend/common/util.go
index 66a5355b76..e616d7011a 100644
--- a/backend/common/util.go
+++ b/backend/common/util.go
@@ -19,7 +19,7 @@ import (
const (
// MaxSheetSize is the maximum size of a sheet for displaying.
- MaxSheetSize = 10240
+ MaxSheetSize = 500 * 10240
// MaxSheetSizeForTaskCheck is the maximum size of a sheet for task check to run.
MaxSheetSizeForTaskCheck = 10 * 1024 * 1024
// MaxSheetSizeForRollback is the maximum size of a sheet for rollback generator to run.
diff --git a/backend/store/instance_change_history.go b/backend/store/instance_change_history.go
index cf305d42e0..7a84e451a7 100644
--- a/backend/store/instance_change_history.go
+++ b/backend/store/instance_change_history.go
@@ -49,7 +49,8 @@ type InstanceChangeHistoryMessage struct {
IssueProjectID string
}
-const instanceChangeHistoryTruncateLength = 10240
+// instanceChangeHistoryTruncateLength is the maximum size of a sheet for displaying.
+const instanceChangeHistoryTruncateLength = 500 * 1024
// FindInstanceChangeHistoryMessage is for listing a list of instance change history.
type FindInstanceChangeHistoryMessage struct {