add logging
This commit is contained in:
@@ -16,7 +16,6 @@ export class HomepageService extends BaseService<null> {
|
|||||||
private tidalService: TidalService;
|
private tidalService: TidalService;
|
||||||
private sseService: SseService;
|
private sseService: SseService;
|
||||||
private pollingInterval: ReturnType<typeof setInterval> | null = null;
|
private pollingInterval: ReturnType<typeof setInterval> | null = null;
|
||||||
private songEndTimeout: ReturnType<typeof setTimeout> | null = null;
|
|
||||||
private lastPoll: FullInformation | null = null;
|
private lastPoll: FullInformation | null = null;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@@ -87,6 +86,7 @@ export class HomepageService extends BaseService<null> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (updates.length > 0) {
|
if (updates.length > 0) {
|
||||||
|
logInfo("Updating clients");
|
||||||
this.sseService.notifyClients({
|
this.sseService.notifyClients({
|
||||||
type: "update",
|
type: "update",
|
||||||
data: updates,
|
data: updates,
|
||||||
|
|||||||
Reference in New Issue
Block a user