Delay notification for preparing support logs

This commit is contained in:
Andrew 2022-01-13 20:47:36 -05:00
parent 8424fc3149
commit 1ee8342355

View File

@ -131,6 +131,7 @@ class Controller:
return False return False
def package_support_logs(self, exec_user): def package_support_logs(self, exec_user):
time.sleep(5)
websocket_helper.broadcast_user(exec_user['user_id'], 'notification', 'Preparing your support logs') websocket_helper.broadcast_user(exec_user['user_id'], 'notification', 'Preparing your support logs')
tempDir = tempfile.mkdtemp() tempDir = tempfile.mkdtemp()
tempZipStorage = tempfile.mkdtemp() tempZipStorage = tempfile.mkdtemp()