{"id":17821,"date":"2025-12-18T16:52:45","date_gmt":"2025-12-18T08:52:45","guid":{"rendered":"https:\/\/kbwp.transwarp.cn\/?p=17821"},"modified":"2025-12-18T17:14:40","modified_gmt":"2025-12-18T09:14:40","slug":"inspection2-2-3%e4%bf%ae%e6%94%b9%e5%ba%95%e5%b1%82%e9%85%8d%e7%bd%aeruntime_parameter_info","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=17821","title":{"rendered":"inspection2.2.3\u4fee\u6539\u5e95\u5c42\u914d\u7f6eruntime_parameter_info"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>inspection web 2.2.3 \u7248\u672c\u5de1\u68c0\uff0c\u9047\u5230small file ratio too high\u7684\u544a\u8b66\uff0c\u9608\u503c\u662f\u7531 <code>table.holodesk.small.file.ratio.threshold<\/code> \u51b3\u5b9a\u7684\uff0c\u9ed8\u8ba480\uff0c\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\u5982\u4f55\u4fee\u6539\u8be5\u53c2\u6570\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/12\/image-1766047094460.png\" alt=\"file\" \/><\/p>\n<h3>\u8be6\u7ec6\u8bf4\u660e<\/h3>\n<hr \/>\n<p>SQLite \u662f\u4e00\u4e2a\u5d4c\u5165\u5f0f\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff0c\u5b83\u662f\u4e00\u4e2a\u96f6\u914d\u7f6e\u3001\u65e0\u670d\u52a1\u5668\u3001\u4e8b\u52a1\u6027\u7684 SQL \u6570\u636e\u5e93\u5f15\u64ce<\/p>\n<pre><code class=\"language-shell\">#\u8fde\u63a5\u5230\u6570\u636e\u5e93\n[root@kv1\/mnt\/package\/inspection-web]# sqlite3 config\/db\/inspection.db\nSQLite version 3.7.17 2013-05-20 00:56:22\nEnter \".help\" for instructions\nEnter SQL statements terminated with a \";\"\n#\u542f\u7528\u5217\u540d\u663e\u793a\uff1a\nsqlite> .headers on\n#\u8bbe\u7f6e\u5217\u5bf9\u9f50\u683c\u5f0f\nsqlite> .mode column\nsqlite> SELECT * FROM runtime_parameter_info WHERE name='table.holodesk.small.file.ratio.threshold';\nid          module      name                                       value       visibility  recommended_value  type        enabled     level       description                    platform  \n----------  ----------  -----------------------------------------  ----------  ----------  -----------------  ----------  ----------  ----------  -----------------------------  ----------\n125         TABLE       table.holodesk.small.file.ratio.threshold  0.8         RW          0.8                PREDEFINED  1           L2          holodesk\u5c0f\u6587\u4ef6\u5360\u6bd4\u9608\u503c  ALL       \nsqlite> update runtime_parameter_info set value=1.0 where  name='table.holodesk.small.file.ratio.threshold';\nsqlite> SELECT * FROM runtime_parameter_info WHERE name='table.holodesk.small.file.ratio.threshold';\nid          module      name                                       value       visibility  recommended_value  type        enabled     level       description                    platform  \n----------  ----------  -----------------------------------------  ----------  ----------  -----------------  ----------  ----------  ----------  -----------------------------  ----------\n125         TABLE       table.holodesk.small.file.ratio.threshold  1.0         RW          0.8                PREDEFINED  1           L2          holodesk\u5c0f\u6587\u4ef6\u5360\u6bd4\u9608\u503c  ALL       \nsqlite> .exit<\/code><\/pre>\n<p>\u901a\u8fc7\u4fee\u6539\u9608\u503c\uff0c\u4ece0.8\u63d0\u9ad8\u52301.0\uff0c\u518d\u6b21\u5de1\u68c0\uff0c\u8be5\u544a\u8b66\u6d88\u5931\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 inspection web 2.2.3 \u7248\u672c\u5de1\u68c0\uff0c\u9047\u5230small file ratio too h ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=17821\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17821","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/17821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17821"}],"version-history":[{"count":3,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/17821\/revisions"}],"predecessor-version":[{"id":17827,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/17821\/revisions\/17827"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}