Skip to content

Commit

Permalink
Increase label size in logs
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Holecek <[email protected]>
  • Loading branch information
hluk committed Jan 30, 2020
1 parent 7aa1aa0 commit e406daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Q_DECLARE_METATYPE(SystemMutexPtr)
namespace {

// Avoid heap allocation for thread local variable.
constexpr int maxThreadLabelSize = 32;
THREAD_LOCAL char currentThreadLabel_[maxThreadLabelSize + 1] = "";
constexpr int maxThreadLabelSize = 48;
THREAD_LOCAL char currentThreadLabel_[maxThreadLabelSize] = "";


const int logFileSize = 512 * 1024;
Expand Down

0 comments on commit e406daf

Please sign in to comment.