don't store receivedAt and source metadata

This commit is contained in:
Doug Hoyte
2024-08-30 16:51:43 -04:00
parent 77b208e837
commit 7377d52016
12 changed files with 18 additions and 30 deletions

View File

@ -314,7 +314,7 @@ void writeEvents(lmdb::txn &txn, std::vector<EventToWrite> &evs, uint64_t logLev
}
if (ev.status == EventWriteStatus::Pending) {
ev.levId = env.insert_Event(txn, ev.receivedAt, ev.packedStr, (uint64_t)ev.sourceType, ev.sourceInfo);
ev.levId = env.insert_Event(txn, ev.packedStr);
tmpBuf.clear();
tmpBuf += '\x00';