Skip to content

Commit

Permalink
update timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 26, 2024
1 parent eaf1767 commit 6754cbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MyApp/Components/Pages/Questions/LiveAnswers.razor
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<div class="flex">
<div class="flex-1 md:flex md:justify-between">
<div class="flex">
<Loading class="mb-0 mr-1" Message="" />
<Loading class="!mb-0 mr-1" Message="" />
<p class="flex leading-6 text-white">
@Progress
</p>
Expand Down Expand Up @@ -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));
Expand Down
4 changes: 4 additions & 0 deletions MyApp/wwwroot/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,10 @@ select{
margin-top: auto;
}

.\!mb-0 {
margin-bottom: 0px !important;
}

.block {
display: block;
}
Expand Down

0 comments on commit 6754cbc

Please sign in to comment.