so fresh, so clean

This commit is contained in:
ntr
2019-07-10 18:08:47 +10:00
parent 7bf4d9954a
commit e5b2eb48c9
11 changed files with 195 additions and 501 deletions
+3 -3
View File
@@ -140,7 +140,7 @@ function createSocket(events) {
}
function sendMtxApply(constructId, mtx) {
send({ method: 'mtx_apply', params: { construct_id: constructId, mtx } });
send(['MtxConstructApply', { construct_id: constructId, mtx }]);
// events.clearMtxActive();
}
@@ -155,7 +155,7 @@ function createSocket(events) {
function onAccountInstances(list) {
events.setAccountInstances(list);
setTimeout(sendAccountInstances, 5000);
// setTimeout(sendAccountInstances, 5000);
}
function onAccountConstructs(constructs) {
@@ -205,7 +205,7 @@ function createSocket(events) {
let pongTimeout;
function onPong() {
events.setPing(Date.now() - ping);
pongTimeout = setTimeout(sendPing, 1000);
// pongTimeout = setTimeout(sendPing, 1000);
}
// -------------