17 Commits
Author SHA1 Message Date
liugang 73d1b4cea1 * [refac] check variable's type before using it as an array. 2024-12-11 09:39:41 +08:00
liugang 50cb2310b6 * [refac] fix type error when the cache doesn't exist. 2024-12-11 09:32:15 +08:00
liugang 37d7879cf6 + [refac] select database after connected to redis server. 2024-11-20 15:42:49 +08:00
liugang 335d4e23bf * [refac] if not all data in cache, get the missing data from the database. 2024-11-20 15:42:49 +08:00
liugang 9c100fa04d * [refac] refactor cache library. 2024-11-20 15:42:49 +08:00
liugang e55458ac98 * [refac] optimize ttl parameter. 2024-11-20 15:42:49 +08:00
liugang 2e20324fe6 + [refac] close cache connection when program is shutdown. 2024-11-20 15:42:49 +08:00
liugang 871637c2af * [refac] fix error. 2024-11-20 15:42:49 +08:00
liugang b6fe5f9318 * [refac] calling method in helper class to connect redis server. 2024-11-20 15:42:49 +08:00
liugang b0e0090809 + [refac] add method to get memory usage. 2024-11-20 15:42:49 +08:00
liugang 4a01690b1e * [refac] simplify apcu driver class and redis driver class. 2024-11-20 15:42:49 +08:00
liugang f3c6734ae6 * [refac] set serializer of php redis. 2024-11-20 15:42:49 +08:00
liugang 125e75249f * [refac] add method to connect redis server. 2024-11-20 15:42:49 +08:00
dingguodong 602fb54d68 * [task#121999] Adjust the comments. 2024-06-28 16:59:08 +08:00
dingguodong 49c9db937d * [task#121999] Flush redis db without deleting session keys. 2024-06-28 16:59:08 +08:00
dingguodong 341925be90 * [task#121999] Reformat code. 2024-06-28 16:59:08 +08:00
dingguodong 2dbbf4704e + [task#121999] Add the redis cache driver. 2024-06-28 16:59:08 +08:00