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: remove unused (#9047)
p0ny3b1bb81f8156
diff --git a/backend/runner/schemasync/syncer.go b/backend/runner/schemasync/syncer.goindex 902f46d376..5fc5f463b4 100644--- a/backend/runner/schemasync/syncer.go+++ b/backend/runner/schemasync/syncer.go@@ -372,8 +372,7 @@ func (s *Syncer) SyncDatabaseSchema(ctx context.Context, database *store.Databasvar patchSchemaVersion *model.Versionif force {- // When there are too many databases, this might have performance issue and will- // cause frontend timeout since we set a 30s limit (INSTANCE_OPERATION_TIMEOUT).+ // When there are too many databases, this might have performance issue.schemaVersion, err := utils.GetLatestSchemaVersion(ctx, s.store, instance.UID, database.UID, databaseMetadata.Name)if err != nil {return errdiff --git a/frontend/src/types/common.ts b/frontend/src/types/common.tsindex ceed32ede6..77a1a44691 100644--- a/frontend/src/types/common.ts+++ b/frontend/src/types/common.ts@@ -34,12 +34,6 @@ export const MINIMUM_POLL_INTERVAL = 200;// Add jitter to avoid timer from different clients converging to the same polling frequency.export const POLL_JITTER = 200;-// It may take a while to perform instance related operations since we are-// connecting the remote instance. And certain operations just take longer for-// a particular database type due to its unique property (e.g. create migration schema-// is a heavier operation in TiDB than traditional RDBMS).-export const INSTANCE_OPERATION_TIMEOUT = 60000;-// RowStatusexport type RowStatus = "NORMAL" | "ARCHIVED";