Explorar o código

Revert changes to ULID generation

maddie %!s(int64=6) %!d(string=hai) anos
pai
achega
5144486472
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      results/telemetry.go

+ 1 - 1
results/telemetry.go

@@ -176,7 +176,7 @@ func Record(w http.ResponseWriter, r *http.Request) {
 	record.Jitter = jitter
 	record.Log = logs
 
-	t := time.Unix(1048576, 0)
+	t := time.Now()
 	entropy := ulid.Monotonic(rand.New(rand.NewSource(t.UnixNano())), 0)
 	uuid := ulid.MustNew(ulid.Timestamp(t), entropy)
 	record.UUID = uuid.String()