Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update default max upload file size (#11640)
boojackf0654e8be878
diff --git a/frontend/src/utils/sheet.ts b/frontend/src/utils/sheet.tsindex 28816dde0a..afde204dd6 100644--- a/frontend/src/utils/sheet.ts+++ b/frontend/src/utils/sheet.ts@@ -1,7 +1,7 @@import Long from "long";-// MAX_UPLOAD_FILE_SIZE_MB is the maximum size of the file that can be uploaded in MB.-export const MAX_UPLOAD_FILE_SIZE_MB = 1;+// Default maximum size of a statement in bytes (100MB).+export const MAX_UPLOAD_FILE_SIZE_MB = 100;export const getStatementSize = (statement: string): Long => {return Long.fromNumber(new TextEncoder().encode(statement).length);