Add compiled JS files
This commit is contained in:
@@ -177,8 +177,6 @@ export class App {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
console.log.apply(null, log(`[app] calling getPostIDsForUser for user [${logID(userID)}] on peer [${logID(sendingPeerID)}]`));
|
console.log.apply(null, log(`[app] calling getPostIDsForUser for user [${logID(userID)}] on peer [${logID(sendingPeerID)}]`));
|
||||||
this.statusBar.updatePeerStatus(sendingPeerID, `getPostIDs(${logID(userID)})⬆️`);
|
|
||||||
|
|
||||||
let postIDs = await this.peerManager?.rpc.getPostIDsForUser(sendingPeerID, userID);
|
let postIDs = await this.peerManager?.rpc.getPostIDsForUser(sendingPeerID, userID);
|
||||||
this.statusBar.updatePeerStatus(sendingPeerID, `syncing(${logID(userID)} ${postIDs.length})`);
|
this.statusBar.updatePeerStatus(sendingPeerID, `syncing(${logID(userID)} ${postIDs.length})`);
|
||||||
console.log.apply(null, log(`[app] Got (${postIDs.length}) post IDs for user [${logID(userID)}] from peer [${logID(sendingPeerID)}]`));
|
console.log.apply(null, log(`[app] Got (${postIDs.length}) post IDs for user [${logID(userID)}] from peer [${logID(sendingPeerID)}]`));
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ export class PeerManager {
|
|||||||
this.eventListeners = new Map();
|
this.eventListeners = new Map();
|
||||||
this.reconnectPeriod = 10;
|
this.reconnectPeriod = 10;
|
||||||
this.messageSuperlog = false;
|
this.messageSuperlog = false;
|
||||||
this.watchdogInterval = 0;
|
this.watchdogInterval = null;
|
||||||
this.reconnectTimer = null;
|
this.reconnectTimer = null;
|
||||||
this.peerStateSuperlog = true;
|
this.peerStateSuperlog = true;
|
||||||
// async watchdog() {
|
// async watchdog() {
|
||||||
@@ -693,9 +693,9 @@ PeerConnection.config = {
|
|||||||
{ urls: "stun:ddln.app" },
|
{ urls: "stun:ddln.app" },
|
||||||
// { urls: "turn:ddln.app", username: "a", credential: "b" },
|
// { urls: "turn:ddln.app", username: "a", credential: "b" },
|
||||||
{ urls: "stun:stun.l.google.com" }, // keeping this for now as my STUN server is not returning ipv6
|
{ urls: "stun:stun.l.google.com" }, // keeping this for now as my STUN server is not returning ipv6
|
||||||
// { urls: "stun:stun1.l.google.com" },
|
{ urls: "stun:stun1.l.google.com" },
|
||||||
// { urls: "stun:stun2.l.google.com" },
|
{ urls: "stun:stun2.l.google.com" },
|
||||||
// { urls: "stun:stun3.l.google.com" },
|
{ urls: "stun:stun3.l.google.com" },
|
||||||
// { urls: "stun:stun4.l.google.com" },
|
{ urls: "stun:stun4.l.google.com" },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user