chore: remove dead code leftovers from caching rework

- Remove dead Redis exports (exampleChannel, homeAssistantEntityState, queueChannel)
- Remove dead Beszel subscribeRealtimeMetrics/subscribeTopic (~100 lines)
- Add missing onSettled invalidation to downloads queue + indexer-manager mutations
- Rename invalidate-update-checker-cache → warm-update-checker
- Delete empty cron-jobs/integrations directory
- Fix stale comment and unused type imports
This commit is contained in:
Thomas Camlong committed 2026-06-25 12:37:33 +02:00
1 parent cc50e47668
commit e7037ddfe9
7 files changed
+26 -144

No files matched your search

+1 -13
View File
@@ -1,6 +1,6 @@
import type { LogLevel } from "@homarr/core/infrastructure/logs/constants";
import { createListChannel, createQueueChannel, createSubPubChannel } from "./lib/channel";
import { createListChannel, createSubPubChannel } from "./lib/channel";
export {
handshakeAsync,
@@ -12,23 +12,11 @@ export {
invalidateIntegrationCacheAsync,
} from "./lib/channel";
export const exampleChannel = createSubPubChannel<{ message: string }>("example");
export const pingChannel = createSubPubChannel<
{ url: string; statusCode: number; durationMs: number } | { url: string; error: string }
>("ping");
export const pingUrlChannel = createListChannel<string>("ping-url");
export const homeAssistantEntityState = createSubPubChannel<{
entityId: string;
state: string;
}>("home-assistant/entity-state");
export const queueChannel = createQueueChannel<{
name: string;
executionDate: Date;
data: unknown;
}>("common-queue");
export interface LoggerMessage {
message: string;
level: LogLevel;