setEnableLatelyCache() 24 hours

This commit is contained in:
xiaomlove
2025-12-11 15:52:40 +07:00
parent f97d564ada
commit 88f2318699

View File

@@ -268,7 +268,7 @@ class UserRepository extends BaseRepository
private function setEnableLatelyCache(int $userId): void
{
NexusDB::cache_put(User::getUserEnableLatelyCacheKey($userId), now()->toDateTimeString());
NexusDB::cache_put(User::getUserEnableLatelyCacheKey($userId), now()->toDateTimeString(), 86400);
}
public function getInviteInfo($id)