1
0
mirror of https://github.com/dkmstr/openuds-gui.git synced 2024-12-22 17:33:48 +03:00

Added wait until status is ready for machines on uds client transports && url transports

This commit is contained in:
Adolfo Gómez García 2021-04-29 12:31:15 +02:00
parent 21c412b8ff
commit 71c9fc80c1

View File

@ -45,7 +45,7 @@ export class Plugin {
observer.next(true);
observer.complete();
} else if (data.status === 'running') {
window.setTimeout(checker, this.delay); // Recheck after 5 seconds
window.setTimeout(checker, this.delay); // Recheck after delay seconds
} else {
observer.next(true);
observer.complete();
@ -133,6 +133,8 @@ export class Plugin {
observer.next(true);
observer.complete();
notifyError();
} else {
window.setTimeout(checker, this.delay); // Recheck after 5 seconds
}
},
(error) => {