Queuing from mobile UI
This commit is contained in:
@@ -77,6 +77,14 @@ export default class ComfyApp {
|
||||
shiftDown: boolean = false;
|
||||
selectedGroupMoving: boolean = false;
|
||||
|
||||
private static _instance: ComfyApp;
|
||||
|
||||
static get instance(): ComfyApp {
|
||||
if (!ComfyApp._instance)
|
||||
ComfyApp._instance = new ComfyApp()
|
||||
return ComfyApp._instance
|
||||
}
|
||||
|
||||
private queueItems: QueueItem[] = [];
|
||||
private processingQueue: boolean = false;
|
||||
|
||||
@@ -125,7 +133,7 @@ export default class ComfyApp {
|
||||
}
|
||||
|
||||
// Save current workflow automatically
|
||||
setInterval(this.requestAutosave.bind(this), 1000);
|
||||
setInterval(this.requestAutosave.bind(this), 15000);
|
||||
|
||||
this.addApiUpdateHandlers();
|
||||
this.addDropHandler();
|
||||
|
||||
Reference in New Issue
Block a user