diff --git a/CHANGELOG.md b/CHANGELOG.md index a804c56e..d5315326 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,8 +20,6 @@ Sessions saved with this version will not be readable with older versions (old s - the root panel is now saved as a special `panel` widget (which means it has savable options) - custom module - add access to the app's `settings` object -- misc - - ui performance optimizations (queued clients <> server communcation) ## 0.17.8 diff --git a/src/browser/js/app/ipc.js b/src/browser/js/app/ipc.js index 85df8ad0..5e98b1b9 100644 --- a/src/browser/js/app/ipc.js +++ b/src/browser/js/app/ipc.js @@ -6,32 +6,14 @@ var Ipc = class Ipc { constructor() { - this.queue = [] this.socket = io.connect('/', {parser:customParser}) - setInterval(this.flush.bind(this), 5) - - - } - flush() { - - if (this.queue.length) { - - for (let msg of this.queue) { - - this.socket.emit(...msg) - } - this.queue = [] - } - - } - send() { - this.queue.push(arguments) + this.socket.emit(...arguments) }