commit | 2b220454252e19eeb16305c4a8073c8d1ff35185 | [log] [tgz] |
---|---|---|
author | Oliver, Jonathan <git@jonathanoliver.com> | Fri May 16 11:57:34 2014 -0600 |
committer | Oliver, Jonathan <git@jonathanoliver.com> | Fri May 16 11:57:34 2014 -0600 |
tree | c4c4c2bacfcdf5a9dbf7f441f5dc8678daffcdc5 | |
parent | 3b6e38357105e5d0e45144e531375fed1bcfe9ed [diff] |
500ms with good consistency--jitter caused by other processes (of course).
diff --git a/sequence.go b/sequence.go index a83b134..8c1d47f 100644 --- a/sequence.go +++ b/sequence.go
@@ -6,6 +6,8 @@ return &Sequence{InitialSequenceValue} } +// TODO: aligned read/write: https://groups.google.com/forum/#!topic/golang-nuts/XDfQUn4U_g8 + const ( MaxSequenceValue int64 = (1 << 63) - 1 InitialSequenceValue int64 = -1