0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 08:13:46 +02:00

ircd::prof: Remove/reduce function thread-local buffers.

This commit is contained in:
Jason Volk 2020-10-29 04:04:31 -07:00
parent 686721d0dc
commit 90c2ecd2e1

View file

@ -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",