Commit e76e9991 authored by alex yao's avatar alex yao

feat: database数据表查询

parent b35cfa77
......@@ -18,7 +18,7 @@ public class DatabaseTableInfoCache {
private static final String prefix = "KNOWLEDGE_DATABASE_TABLE_INFO:";
private static Long expireTime = 30 * 24 * 60 * 60L;
private static Long expireTime = 5 * 60L;
public static boolean updateOrSaveCache(int id, List<DatabaseUtil.TableInfo> tableInfos) {
logger.info("updateOrSaveCache id:{},tableInfos:{}", id, tableInfos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment