From 9499685ddabecbdbe51aba00db46b4f2ea79659d Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 21 Nov 2022 14:06:26 +0530 Subject: [PATCH 1/2] Check for enqueued tasks more frequently --- ui/sd_internal/task_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/sd_internal/task_manager.py b/ui/sd_internal/task_manager.py index 4b96438c..bd87517b 100644 --- a/ui/sd_internal/task_manager.py +++ b/ui/sd_internal/task_manager.py @@ -268,7 +268,7 @@ def thread_render(device): return task = thread_get_next_task() if task is None: - time.sleep(1) + time.sleep(0.05) continue if task.error is not None: print(task.error) From b641f1a230f0f0e0c51425d12b8784ae93942f64 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 21 Nov 2022 14:08:12 +0530 Subject: [PATCH 2/2] Bump version --- CHANGES.md | 1 + ui/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 80c1c64a..6163da1e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -21,6 +21,7 @@ - A `What's New?` tab in the UI ### Detailed changelog +* 2.4.12 - 21 Nov 2022 - Another fix for improving how long images take to generate. Reduces the time taken for an enqueued task to start processing. * 2.4.11 - 21 Nov 2022 - Installer improvements: avoid crashing if the username contains a space or special characters, allow moving/renaming the folder after installation on Windows, whitespace fix on git apply * 2.4.11 - 21 Nov 2022 - Validate inputs before submitting the Image request * 2.4.11 - 19 Nov 2022 - New system settings to manage the network config (port number and whether to only listen on localhost) diff --git a/ui/index.html b/ui/index.html index becc2418..d287aca2 100644 --- a/ui/index.html +++ b/ui/index.html @@ -20,7 +20,7 @@