Skip to content

Commit

Permalink
Merge pull request #53 from reav89/patch-3
Browse files Browse the repository at this point in the history
Corrected the max number of message
  • Loading branch information
StevenTCramer authored Feb 28, 2024
2 parents 92e2f73 + fd64005 commit 040e64f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public interface IChatService
```

To implement this service we'll use a `List<string>` 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}
Expand Down

0 comments on commit 040e64f

Please sign in to comment.