Skip to content

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

chore: remove unused (#9047)

p0ny3b1bb81f8156
diff --git a/backend/runner/schemasync/syncer.go b/backend/runner/schemasync/syncer.go
index 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.Databas
var patchSchemaVersion *model.Version
if 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 err
diff --git a/frontend/src/types/common.ts b/frontend/src/types/common.ts
index 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;
-
// RowStatus
export type RowStatus = "NORMAL" | "ARCHIVED";