mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 16:33:53 +01:00
ircd::prof: Remove/reduce function thread-local buffers.
This commit is contained in:
parent
686721d0dc
commit
90c2ecd2e1
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ noexcept
|
|||
if(likely(!total))
|
||||
return;
|
||||
|
||||
thread_local char buf[512];
|
||||
char buf[256];
|
||||
const string_view reason
|
||||
{
|
||||
fmt::vsprintf
|
||||
|
@ -132,7 +132,7 @@ noexcept
|
|||
}
|
||||
};
|
||||
|
||||
thread_local char tmbuf[64];
|
||||
char tmbuf[64];
|
||||
log::dwarning
|
||||
{
|
||||
log, "[%s] context id:%lu watchdog :system call took %s :%s",
|
||||
|
|
Loading…
Reference in a new issue