From 6754cbce9cb78806553de50a9c5d1a1159c7bd25 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Tue, 26 Mar 2024 22:02:35 +0800 Subject: [PATCH] update timeout --- MyApp/Components/Pages/Questions/LiveAnswers.razor | 4 ++-- MyApp/wwwroot/css/app.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/MyApp/Components/Pages/Questions/LiveAnswers.razor b/MyApp/Components/Pages/Questions/LiveAnswers.razor index a626a7d..7df946b 100644 --- a/MyApp/Components/Pages/Questions/LiveAnswers.razor +++ b/MyApp/Components/Pages/Questions/LiveAnswers.razor @@ -52,7 +52,7 @@
- +

@Progress

@@ -174,7 +174,7 @@ var lastCount = pendingJobs.Count; Progress = $"Waiting on {pendingJobs.Count} remaining answer{Plural(pendingJobs.Count)}..."; StateHasChanged(); - var timeOut = TimeSpan.FromMinutes(2); + var timeOut = TimeSpan.FromMinutes(5); while (DateTime.UtcNow - startedAt < timeOut) { await AnswerNotifier.ListenForNewAnswersAsync(Id, TimeSpan.FromSeconds(5)); diff --git a/MyApp/wwwroot/css/app.css b/MyApp/wwwroot/css/app.css index 7a0324c..12fbea3 100644 --- a/MyApp/wwwroot/css/app.css +++ b/MyApp/wwwroot/css/app.css @@ -1214,6 +1214,10 @@ select{ margin-top: auto; } +.\!mb-0 { + margin-bottom: 0px !important; +} + .block { display: block; }