loleaflet/js/global.js |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 0914da6ecba31e7eb6031e0d26d6a3692c62894f
Author:     Michael Meeks <michael.me...@collabora.com>
AuthorDate: Thu May 28 21:56:11 2020 +0100
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Fri May 29 10:33:08 2020 +0200

    Proxy: calm down console debug churn for now.
    
    Change-Id: If31ea5e447e90ad21d07e972eaeb556972b9447a
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95066
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Tested-by: Jenkins
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/loleaflet/js/global.js b/loleaflet/js/global.js
index 2a789e98e..20757e2a5 100644
--- a/loleaflet/js/global.js
+++ b/loleaflet/js/global.js
@@ -284,13 +284,13 @@
                        return this.decoder.decode(this.doSlice(bytes, 
start,end));
                };
                this.parseIncomingArray = function(arr) {
-                       console.debug('proxy: parse incoming array of length ' 
+ arr.length);
+//                     console.debug('proxy: parse incoming array of length ' 
+ arr.length);
                        for (var i = 0; i < arr.length; ++i)
                        {
                                var left = arr.length - i;
                                if (left < 4)
                                {
-                                       console.debug('no data left');
+//                                     console.debug('no data left');
                                        break;
                                }
                                var type = String.fromCharCode(arr[i+0]);
@@ -398,8 +398,8 @@
                        // too long, hangs, throws, etc. we can recover.
                        that._setPollInterval(that.maxPollMs);
 
-                       console.debug('send msg - ' + that.msgInflight + ' on 
session ' +
-                                     that.sessionId + '  queue: "' + 
that.sendQueue + '"');
+//                     console.debug('send msg - ' + that.msgInflight + ' on 
session ' +
+//                                   that.sessionId + '  queue: "' + 
that.sendQueue + '"');
                        var req = new XMLHttpRequest();
                        req.open('POST', that.getEndPoint('write'));
                        req.responseType = 'arraybuffer';
@@ -434,7 +434,7 @@
                                        {
                                                // Throttle.
                                                that.curPollMs = 
Math.min(that.maxPollMs, that.curPollMs * that.throttleFactor) | 0;
-                                               console.debug('No data for ' + 
timeSinceLastDataMs + ' ms -- throttling to ' + that.curPollMs + ' ms.');
+//                                             console.debug('No data for ' + 
timeSinceLastDataMs + ' ms -- throttling to ' + that.curPollMs + ' ms.');
                                        }
                                }
 
@@ -480,7 +480,7 @@
                                // Unless we are backed up.
                                if (that.msgInflight <= 3)
                                {
-                                       console.debug('Have data to send, 
lowering poll interval.');
+//                                     console.debug('Have data to send, 
lowering poll interval.');
                                        that.curPollMs = that.minPollMs;
                                        that._setPollInterval(that.curPollMs);
                                }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to