Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwinchester committed Apr 19, 2024
1 parent ef38d27 commit 265c67e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/clock.ex
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ defmodule UUIDv7.Clock do

# Rollover protection.
# If the counter is over the allotted bits, then we update the timestamp
# by 1 millisecond to preserve order, which will also reset the counter.
# by 1 millisecond to preserve order, which will also reset the counter
# using the provided seed value.
clock =
with @max_counter <- update_counter(current_ts, seed) do
next_ts = current_ts + 1
Expand Down

0 comments on commit 265c67e

Please sign in to comment.