refactor: checkpoint layer2 api console changes

This commit is contained in:
Naeel
2026-04-26 16:41:20 +03:00
parent d866625634
commit 9461026546
13 changed files with 870 additions and 541 deletions
+1 -5
View File
@@ -632,11 +632,7 @@ func (s *Server) handleDeleteFunction(w http.ResponseWriter, r *http.Request, na
fission.CleanupEnvironmentIfUnused(cleanupCtx, s.dyn, ns, envName)
}
// Сигналим reconciler: батчит изменения без race condition и rolling restarts
select {
case s.nsManager.NSReconcileCh <- struct{}{}:
default:
}
// (reconciler NS удалён — за FISSION_RESOURCE_NAMESPACES теперь отвечает Layer 1 NSWatcher)
writeAnyJSON(w, http.StatusOK, map[string]any{"deleted": true, "name": name, "package": pkgName})
}