feat: increase expiry period to 8 years.

Related to #923.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2023-03-13 09:44:29 +02:00 committed by Roman Gershman
parent bac9180602
commit a8c1e5cd4a
5 changed files with 12 additions and 6 deletions

View file

@ -11,9 +11,9 @@ Indices (say in GETRANGE and SETRANGE commands) should be signed 32 bit integers
SORT does not take any locale into account.
## Expiry ranges.
Expirations are limited to 4 years. For commands with millisecond precision like PEXPIRE or PSETEX,
expirations greater than 2^27ms are quietly rounded to the nearest second loosing precision of less than 0.001%.
Expirations are limited to 8 years. For commands with millisecond precision like PEXPIRE or PSETEX,
expirations greater than 2^28ms are quietly rounded to the nearest second loosing precision of less than 0.001%.
## Lua
We use lua 5.4.4 that has been released in 2022.
That means we also support [lua integers](https://github.com/redis/redis/issues/5261).
That means we also support [lua integers](https://github.com/redis/redis/issues/5261).