From fd6400521acd638742941adf112992fdf7c3b5bf Mon Sep 17 00:00:00 2001 From: reav89 <155720273+reav89@users.noreply.github.com> Date: Fri, 23 Feb 2024 17:28:17 +0100 Subject: [PATCH] Corrected the max number of message --- .../singleton-dependencies/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blazor-university-com/input/pages/dependency-injection/dependency-lifetimes-and-scopes/singleton-dependencies/index.md b/source/blazor-university-com/input/pages/dependency-injection/dependency-lifetimes-and-scopes/singleton-dependencies/index.md index 2d58945..0e43bd0 100644 --- a/source/blazor-university-com/input/pages/dependency-injection/dependency-lifetimes-and-scopes/singleton-dependencies/index.md +++ b/source/blazor-university-com/input/pages/dependency-injection/dependency-lifetimes-and-scopes/singleton-dependencies/index.md @@ -31,7 +31,7 @@ public interface IChatService ``` To implement this service we'll use a `List` to store the chat history, -and remove messages from the start of the list whenever there are more than 100 in the queue. +and remove messages from the start of the list whenever there are more than 50 in the queue. We'll use the `lock()` statement to ensure thread safety. ```razor {: .line-numbers}