diff options
Diffstat (limited to 'system/api/analytics/batch.go')
-rw-r--r-- | system/api/analytics/batch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/analytics/batch.go b/system/api/analytics/batch.go index 4f6d57e..c4a60db 100644 --- a/system/api/analytics/batch.go +++ b/system/api/analytics/batch.go @@ -74,7 +74,7 @@ func batchPrune(threshold time.Duration) error { } // delete if timestamp is below or equal to max - ts := time.Unix(r.Timestamp, 0) + ts := time.Unix(r.Timestamp/1000, 0) if ts.Equal(max) || ts.Before(max) { err := b.Delete(k) if err != nil { |