]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: qemu monitor: rework comment about how (starting) trimming works
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Nov 2022 19:22:05 +0000 (20:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Nov 2022 19:22:07 +0000 (20:22 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/qemu/Monitor.js

index 7f1626e3c4c89324beac8e2d7e42b111e393c8ed..7a84b39acd54c12a28627e657238d1146507159b 100644 (file)
@@ -3,8 +3,9 @@ Ext.define('PVE.qemu.Monitor', {
 
     alias: 'widget.pveQemuMonitor',
 
-    // ouput is trimmed when it's over both commandLimit and lineLimit
-    // by removing the first commands and their output
+    // start to trim saved command output once there are *both*, more than `commandLimit` commands
+    // executed and the total of saved in+output is over `lineLimit` lines; repeat by dropping one
+    // full command output until either condition is false again
     commandLimit: 10,
     lineLimit: 5000,