mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::client: Add request count to loghead.
This commit is contained in:
parent
3528bb41bc
commit
8c99e90a85
1 changed files with 3 additions and 1 deletions
|
@ -942,10 +942,12 @@ const
|
|||
thread_local char locbuf[128];
|
||||
return fmt::sprintf
|
||||
{
|
||||
buf, "socket:%lu local[%s] remote[%s] client:%lu",
|
||||
buf, "socket:%lu local[%s] remote[%s] client:%lu req:%lu:%lu",
|
||||
sock? net::id(*sock) : -1UL,
|
||||
string(locbuf, ircd::local(*this)),
|
||||
string(rembuf, ircd::remote(*this)),
|
||||
id,
|
||||
ready_count,
|
||||
request_count
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue