mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-22 01:46:15 +08:00

Memcached TTL cannot be > 30 days and if it is attempted the TTL is interpreted as a unix timestamp. This PR ensures that the TTL is switched to a unix timestamp in those cases. Fix #14571 Signed-off-by: Andrew Thornton <art27@cantab.net>