Skip to content

Commit

Permalink
update a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwinchester authored Apr 22, 2024
1 parent 3d5bd70 commit 327cb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clock.ex
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ defmodule UUIDv7.Clock do
# en `ets` table and use `update_counter`. It avoids having to use a
# GenServer for state, or have an ever-increasing monotonic integer that
# doesn't reset and introduces the chance of rollover (which would break sort
# order every time this occurs). Any better ideas? Submit an issue.
# order every time this occurs).
defp update_counter(ts, seed) do
:ets.update_counter(__MODULE__, ts, 1, {ts, seed})
end
Expand Down

0 comments on commit 327cb75

Please sign in to comment.