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