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:
parent
21c412b8ff
commit
71c9fc80c1
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user