tracks lexicons and how many times they appeared on the jetstream

Revert "feat(server): convert microsecond timestamps to seconds"

This reverts commit 5cc9c68cdef616b5227eea2d96ba01048edf2fab.

ptr.pet 0818125d f434daf7

verified
Changed files
+1 -6
server
src
+1 -6
server/src/main.rs
···
to.ingest_events(hits.map(|hit| {
count += 1;
let hit = hit.expect("cant decode hit");
-
let mut timestamp = hit.timestamp;
-
// check if timestamp is microseconds, convert to seconds if it is
-
if timestamp > 10_000_000_000 {
-
timestamp /= 1_000_000;
-
}
EventRecord {
nsid: nsid.to_smolstr(),
-
timestamp,
+
timestamp: hit.timestamp,
deleted: hit.deser().unwrap().deleted,
}
}))