mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd:Ⓜ️:vm: Add event_id and share sequence to the loghead; minor cleanup.
This commit is contained in:
parent
4b816f8c74
commit
f340e44692
2 changed files with 8 additions and 3 deletions
|
@ -1076,12 +1076,17 @@ ircd::m::vm::loghead(const mutable_buffer &buf,
|
|||
{
|
||||
return fmt::sprintf
|
||||
{
|
||||
buf, "vm[%lu:%lu:%lu] eval[%lu] id:%lu",
|
||||
buf, "vm:%lu:%lu:%lu eval:%lu seq:%lu share:%lu:%lu] %s",
|
||||
sequence::uncommitted,
|
||||
sequence::committed,
|
||||
sequence::retired,
|
||||
sequence::get(eval),
|
||||
eval.id,
|
||||
sequence::get(eval),
|
||||
eval.sequence_shared[0],
|
||||
eval.sequence_shared[1],
|
||||
eval.event_?
|
||||
string_view{json::get<"event_id"_>(*eval.event_)}:
|
||||
"<unidentified>"_sv,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -673,7 +673,7 @@ ircd::m::vm::execute_edu(eval &eval,
|
|||
|
||||
enum ircd::m::vm::fault
|
||||
ircd::m::vm::execute_pdu(eval &eval,
|
||||
const event &event)
|
||||
const event &event)
|
||||
{
|
||||
const scope_count pending
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue