From 1ee8342355a3955b8786347fcc2e84d7fb5c8ce5 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 13 Jan 2022 20:47:36 -0500 Subject: [PATCH] Delay notification for preparing support logs --- app/classes/shared/main_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/classes/shared/main_controller.py b/app/classes/shared/main_controller.py index 6aa3661c..f3fa7b2d 100644 --- a/app/classes/shared/main_controller.py +++ b/app/classes/shared/main_controller.py @@ -131,6 +131,7 @@ class Controller: return False def package_support_logs(self, exec_user): + time.sleep(5) websocket_helper.broadcast_user(exec_user['user_id'], 'notification', 'Preparing your support logs') tempDir = tempfile.mkdtemp() tempZipStorage = tempfile.mkdtemp()