Skip to content

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

fix: export log page size (#16621)

ecmadao2744adc56d27
diff --git a/frontend/src/views/SettingWorkspaceAuditLog.vue b/frontend/src/views/SettingWorkspaceAuditLog.vue
index a44610fd8c..ddc6908fc3 100644
--- a/frontend/src/views/SettingWorkspaceAuditLog.vue
+++ b/frontend/src/views/SettingWorkspaceAuditLog.vue
@@ -165,7 +165,7 @@ const handleExport = async ({
const { content, nextPageToken } = await auditLogStore.exportAuditLogs({
search: searchAuditLogs.value,
format: options.format,
- pageSize: 1,
+ pageSize: 5000, // The maximum page size is 5000
pageToken,
});
pageToken = nextPageToken;
diff --git a/frontend/src/views/project/ProjectAuditLogDashboard.vue b/frontend/src/views/project/ProjectAuditLogDashboard.vue
index f325394441..ee71c81199 100644
--- a/frontend/src/views/project/ProjectAuditLogDashboard.vue
+++ b/frontend/src/views/project/ProjectAuditLogDashboard.vue
@@ -167,7 +167,7 @@ const handleExport = async ({
const { content, nextPageToken } = await auditLogStore.exportAuditLogs({
search: searchAuditLogs.value,
format: options.format,
- pageSize: 10000,
+ pageSize: 5000, // The maximum page size is 5000
pageToken,
});
pageToken = nextPageToken;