Skip to content

Commit b6d88ed

Browse files
committed
add todo & remove concurrency limiter
1 parent 47acb1f commit b6d88ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/shared/Jordnaer.Shared/Extensions/ServiceCollectionExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ arguments.Outcome.Exception is not null ||
4444
// This resilience strategy will pause all pings for 5 minutes if the API returns an error.
4545
.AddResilienceHandler("ping",
4646
builder => builder.AddCircuitBreaker(pingCircuitBreakerOptions)
47-
.AddConcurrencyLimiter(5)
4847
.AddTimeout(TimeSpan.FromSeconds(30)));
4948

5049
return services;

src/web/Jordnaer/Pages/Shared/TopBar.razor

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
<MudIconButton title="Redigér Profil" Href="/profile" Icon="@Icons.Material.Filled.Person" />
2828
<MudIconButton title="Log ud" Href="/Account/Logout" Icon="@Icons.Material.Filled.Logout" />
2929
</Authorized>
30-
<NotAuthorized>
31-
<MudIconButton title="Log ind" Href="/Account/Login" Icon="@Icons.Material.Filled.Login" Variant="Variant.Outlined" Color="Color.Default" />
32-
</NotAuthorized>
30+
<NotAuthorized>
31+
@*TODO: This link should change depending on if you've logged in before or not*@
32+
<MudIconButton title="Log ind" Href="/Account/Login" Icon="@Icons.Material.Filled.Login" Variant="Variant.Outlined" Color="Color.Default"/>
33+
</NotAuthorized>
3334
</AuthorizeView>
3435
</MudAppBar>

0 commit comments

Comments
 (0)