mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-10 04:39:19 +02:00
remove console.log calls
This commit is contained in:
parent
4667cbff2b
commit
14421ea115
@ -94,10 +94,6 @@ export class Relay {
|
||||
}
|
||||
|
||||
this.sendQueued();
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
console.info(`Relay: ${this.url} connected`);
|
||||
}
|
||||
};
|
||||
this.ws.onclose = () => {
|
||||
this.onClose.next(this);
|
||||
@ -106,10 +102,6 @@ export class Relay {
|
||||
this.ejectTimer();
|
||||
this.ejectTimer = undefined;
|
||||
}
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
console.info(`Relay: ${this.url} disconnected`);
|
||||
}
|
||||
};
|
||||
this.ws.onmessage = this.handleMessage.bind(this);
|
||||
}
|
||||
@ -144,9 +136,6 @@ export class Relay {
|
||||
|
||||
private sendQueued() {
|
||||
if (this.connected) {
|
||||
if (import.meta.env.DEV) {
|
||||
console.info(`Relay: ${this.url} sending ${this.queue.length} queued messages`);
|
||||
}
|
||||
for (const message of this.queue) {
|
||||
this.send(message);
|
||||
}
|
||||
|
@ -247,9 +247,7 @@ class RelayScoreboardService {
|
||||
|
||||
const relayScoreboardService = new RelayScoreboardService();
|
||||
|
||||
relayScoreboardService.loadStats().then(() => {
|
||||
console.log("Loaded relay scoreboard stats");
|
||||
});
|
||||
relayScoreboardService.loadStats();
|
||||
|
||||
setInterval(() => {
|
||||
relayScoreboardService.saveStats();
|
||||
|
Loading…
x
Reference in New Issue
Block a user