[pve-devel] [PATCH xtermjs] to not try to reconnect the host shell
Dietmar Maurer
dietmar at proxmox.com
Mon May 7 15:08:09 CEST 2018
> @@ -266,7 +266,7 @@ function checkMigration() {
> function tryReconnect() {
> var time_since_started = new Date() - starttime;
> var type = getQueryParameter('console');
> - if (time_since_started < 5*1000) { // 5 seconds
> + if (time_since_started < 5*1000 || type === 'shell') { // 5 seconds
> stopTerminal({});
> return;
> } else if (type === 'shell') {
Patch does not apply, and above code looks really wrong ...
More information about the pve-devel
mailing list