From ecf856a1b3ff91a2292be5ff6fbf7ed04790c5a4 Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 15 Jul 2025 14:26:21 +0800 Subject: [PATCH] + [perf] Reset the last update time of userview related tables after updating them. --- lib/base/dao/dao.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/base/dao/dao.class.php b/lib/base/dao/dao.class.php index 1ed564cd6a..768a766553 100644 --- a/lib/base/dao/dao.class.php +++ b/lib/base/dao/dao.class.php @@ -1264,6 +1264,11 @@ class baseDAO } } + if(in_array($table, $this->config->userview->relatedTables)) + { + $this->dbh->exec('UPDATE ' . TABLE_CONFIG . " SET `value` = '" . time() . "' WHERE `owner` = 'system' AND `module` = 'common' AND `section` = 'userview' AND `key` = 'relatedTablesUpdateTime'"); + } + if($this->config->enableDuckdb) { $queueTable = TABLE_DUCKDBQUEUE;