diff options
Diffstat (limited to 'src/Index.hs')
| -rw-r--r-- | src/Index.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Index.hs b/src/Index.hs index 36b2374..69be325 100644 --- a/src/Index.hs +++ b/src/Index.hs @@ -369,7 +369,7 @@ genEventID (YMDHMS (YMD y m d) (HMS hh mm ss)) off -- > ceiling (2 ** (64 - logBase 2 (5000 * 12 * 31 * 24 * 60 * 60))) -- 114787088 -- to fit the ID number in a Word64. - -- Let's round that down converatively to 100_000_000, i.e. 100 million events per day max. + -- Let's round that down conservatively to 100_000_000, i.e. 100 million events per day max. -- -- The result number is encoded in base62, and an 'a' is prefixed as an ID version identifier. | off >= 100_000_000 = error "Too many events per day" |
