fix bug
Some checks failed
backend / cross (armhf) (push) Has been cancelled
docker / build (push) Has been cancelled
backend / cross (aarch64) (push) Failing after 1m31s
backend / cross (arm) (push) Failing after 1m34s
backend / cross (mips64) (push) Has been cancelled
backend / cross (mips64el) (push) Has been cancelled
backend / cross (mipsel) (push) Has been cancelled
backend / cross (s390x) (push) Has been cancelled
backend / cross (win32) (push) Has been cancelled
backend / cross (x86_64) (push) Has been cancelled
backend / cross (i686) (push) Has been cancelled
backend / cross (mips) (push) Has been cancelled

This commit is contained in:
2025-10-29 08:32:18 +08:00
parent 22b99c3562
commit e0fbf4f434
3 changed files with 16175 additions and 16175 deletions

View File

@@ -63,7 +63,7 @@ export class Terminal extends Component<Props, State> {
this.xterm.open(this.container);
this.xterm.connect();
} else {
this.intervalID = setInterval(this.loadOutput, 3000);
this.intervalID = setInterval(this.loadOutput, 8000);
this.xterm.open(this.container);
this.xterm.changeUrl(this.currentDevcontainer.ip, this.currentDevcontainer.port)
this.xterm.changeStatus(true);

View File

@@ -282,7 +282,7 @@ export class Xterm {
register(addEventListener(socket, 'error', () => (this.doReconnect = false)));
const options = new URLSearchParams(decodeURIComponent(window.location.search));
if (options.get('type') === 'docker') {
this.intervalID = setInterval(this.loadCommand, 3000);
this.intervalID = setInterval(this.loadCommand, 8000);
}
}