feat: remove unused alert management code and optimize notification fetching interval

This commit is contained in:
SaelixCode
2026-02-27 10:17:33 -05:00
parent 9cdf273b8c
commit b95838ae9c
4 changed files with 164 additions and 350 deletions
-9
View File
@@ -663,15 +663,6 @@ app.get('/api/system/stats', async (req: Request, res: Response) => {
// --- Notification & Alerting Routes ---
app.get('/api/stacks', async (req: Request, res: Response) => {
try {
const stacks = await fileSystemService.getStacks();
res.json(stacks);
} catch (error) {
res.status(500).json({ error: 'Failed to fetch stacks' });
}
});
app.get('/api/agents', async (req: Request, res: Response) => {
try {
const agents = DatabaseService.getInstance().getAgents();