Revert changes to ULID generation
This commit is contained in:
parent
a81bb0380d
commit
5144486472
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue