jcomeauictx / myturnb

MyTurn client and server (updates MyTurn repository)
https://github.com/yishayw/MyTurn/wiki
0 stars 0 forks source link

testing with Chrome on Debian, single user test using an /etc/hosts entry pointing to a 127/8 address #2

Closed jcomeauictx closed 7 years ago

jcomeauictx commented 7 years ago
jcomeauictx commented 7 years ago

app/controller/Discussion.js has routine this.doUpdateTimeRemaining(data):

doUpdateTimeRemaining: function (data) {
    var formattedTime = testing.util.TimeUtils.getFormattedTime(data.timeLeft);
    this.getTimeRemainingLabel().setHtml(formattedTime);
},
jcomeauictx commented 7 years ago

api/RulesEngine.js, server side, has this.messageDispatcher.sendMessageToRoom() function that communicates to client side somehow (websockets?)

jcomeauictx commented 7 years ago

David says time should only update on a change of speaker. so it's already updating too much.

the current message flow shows that MyTurn requests are processed every seconds, which is why the time is updating.