Skip to content

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

chore: remove dead code (#10860)

p0ny02e3bf503fbd
diff --git a/backend/component/state/state.go b/backend/component/state/state.go
index 0cdaba7430..e9625abb02 100644
--- a/backend/component/state/state.go
+++ b/backend/component/state/state.go
@@ -45,14 +45,8 @@ type State struct {
// RunningBackupDatabases is the set of databases running backups.
RunningBackupDatabases sync.Map // map[databaseID]bool
- // RunningTaskChecks is the set of running task checks.
- RunningTaskChecks sync.Map // map[taskCheckID]bool
- // RunningTasks is the set of running tasks.
- RunningTasks sync.Map // map[taskID]bool
// RunningPlanChecks is the set of running plan checks.
RunningPlanChecks sync.Map
- // RunningTasksCancel is the cancel's of running tasks.
- RunningTasksCancel sync.Map // map[taskID]context.CancelFunc
// InstanceOutstandingConnections is the maximum number of connections per instance.
InstanceOutstandingConnections map[int]int