File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cm4all-workshop (7.10) unstable; urgency=low
22
3- *
3+ * cron: set the TIMESTAMP attribute on Pond datagrams
44
55 --
66
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ public:
2727 Close ();
2828 }
2929
30+ auto &GetEventLoop () const noexcept {
31+ return event.GetEventLoop ();
32+ }
33+
3034 bool IsFull () const noexcept {
3135 return buffer.IsFull ();
3236 }
Original file line number Diff line number Diff line change 33// author: Max Kellermann <max.kellermann@ionos.com>
44
55#include " PipePondAdapter.hxx"
6+ #include " event/Loop.hxx"
67#include " net/log/Send.hxx"
78#include " net/log/Datagram.hxx"
89#include " util/PrintException.hxx"
@@ -31,6 +32,7 @@ PipePondAdapter::OnLine(std::string_view line) noexcept
3132 }
3233
3334 Net::Log::Datagram d{
35+ .timestamp = Net::Log::FromSystem (GetEventLoop ().SystemNow ()),
3436 .message = line,
3537 .type = Net::Log::Type::JOB,
3638 };
You can’t perform that action at this time.
0 commit comments