mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 01:34:57 +00:00
track sources of events
This commit is contained in:
@ -86,7 +86,7 @@ void cmd_import(const std::vector<std::string> &subArgs) {
|
||||
continue;
|
||||
}
|
||||
|
||||
newEvents.emplace_back(std::move(flatStr), std::move(jsonStr), hoytech::curr_time_us());
|
||||
newEvents.emplace_back(std::move(flatStr), std::move(jsonStr), hoytech::curr_time_us(), EventSourceType::Import, "");
|
||||
|
||||
if (newEvents.size() >= 10'000) flushChanges();
|
||||
}
|
||||
|
Reference in New Issue
Block a user