Skip to content

Commit

Permalink
Reduce number of messages in LogQueue to 30 to conserve RAM
Browse files Browse the repository at this point in the history
  • Loading branch information
jabberrock committed Nov 13, 2024
1 parent 804c151 commit 6061ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging/LogQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class LogQueue {
// Sets the message at a particular offset
void setMessageAt(int offset, const char* message);

static constexpr size_t MaxMessages = 100;
static constexpr size_t MaxMessages = 30;
static constexpr size_t MaxMessageLength = std::numeric_limits<uint8_t>::max();

size_t m_StartIndex = 0;
Expand Down

0 comments on commit 6061ba3

Please sign in to comment.