forked from gitea/gitea

To avoid unnecessary database access, the `cacheTime` should always be set if the revision has been checked. Fix #28057
To avoid unnecessary database access, the `cacheTime` should always be set if the revision has been checked. Fix #28057