docs: the community's plugins update by themselves every hour, not every six hours (en, zh, ja)

internal/plugin/updates.go's KeepUpdated first runs 30 seconds after
magpie starts, then every updateEvery, which is time.Hour. #681 cut it
from six hours. The Plugins page (plugins.js) already says "within the
hour". site/public/docs/plugins.html, zh/ and ja/ still said six hours.

Other "six hours" mentions were checked and left alone, since the code
agrees with them:
- the registry.json fetch on the same pages (market.go: 6*time.Hour);
- the move retry in docs/subsystems/provider-plugins.md
  (migrate.go: moveRetry = 6*time.Hour).

Bun's own check (bunEvery) is six hours, but no doc states it. No README
or docs/ page states the plugin update interval.

Run: grep across README*.md, docs/ and site/ for six hours / 6 hours /
六小时 / 6 小时 / 6 時間. No code changed.
This commit is contained in:
yetone committed 2026-10-10 10:28:49 +08:00
1 parent e5f04f38e8
commit ca3394ff80
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ magpie quota <span class="c"># acme · Pro · 5h 37%
<li><b>プロキシ。</b>プラグインがプロバイダやアカウントのために行う fetch は、ユーザーがそのプロバイダやアカウントに設定したプロキシを経由します。設定がなければ magpie 自身のプロキシを経由します(設定が<em>直接接続</em>の場合を除く)。ループバックアドレスはプロキシを通りません。独自の <code>proxy</code> オプションを渡す fetch はそのままにされます。</li>
<li><b>更新。</b>
<ul>
<li>コミュニティのパッケージ(<code>@magpie-community/*</code>)は、magpie の起動から少し後に自動で更新され、その後は 6 時間ごとに更新されます。</li>
<li>コミュニティのパッケージ(<code>@magpie-community/*</code>)は、magpie の起動から少し後に自動で更新され、その後は 1 時間ごとに更新されます。</li>
<li>そのほかのパッケージは、新しいバージョンがあると <span class="ui">プラグイン</span> にドットが表示され、ユーザーがクリックか <code>magpie plugin update</code> で更新します。</li>
<li>バージョンを固定した指定(<code>name@1.2.3</code>)は、ユーザーが更新するまでそのバージョンのままです。<span class="ui">… にアップデート</span>、<span class="ui">すべてアップデート</span>、<code>magpie plugin update</code> は最新版をインストールし、固定を外します。</li>
</ul></li>
+1 -1
View File
@@ -211,7 +211,7 @@ magpie quota <span class="c"># acme · Pro · 5h 37%
<li><b>Proxy.</b> Every fetch a plugin makes for a provider or an account goes through the proxy the user set for that provider or account. Otherwise it goes through magpie’s own proxy, unless the setting is <em>direct</em>. Loopback addresses never go through a proxy. A fetch that passes its own <code>proxy</code> option is left alone.</li>
<li><b>Updates.</b>
<ul>
<li>The community’s packages (<code>@magpie-community/*</code>) update by themselves a little after magpie starts, then every six hours.</li>
<li>The community’s packages (<code>@magpie-community/*</code>) update by themselves a little after magpie starts, then every hour.</li>
<li>Any other package with a newer version shows a dot on <span class="ui">Plugins</span>, and the user updates it with a click or <code>magpie plugin update</code>.</li>
<li>A spec pinned to a version (<code>name@1.2.3</code>) stays on it until the user updates it: <span class="ui">Update to …</span>, <span class="ui">Update all</span> and <code>magpie plugin update</code> install the newest version and unpin it.</li>
</ul></li>
+1 -1
View File
@@ -211,7 +211,7 @@ magpie quota <span class="c"># acme · Pro · 5h 37%
<li><b>代理。</b>插件为某个供应商或账号发出的每个 fetch,都走用户给这个供应商或账号设置的代理;没有设置就走 magpie 自己的代理,除非设成<em>直连</em>。回环地址从不走代理。自己传了 <code>proxy</code> 选项的 fetch 不会被改动。</li>
<li><b>更新。</b>
<ul>
<li>社区的包(<code>@magpie-community/*</code>)在 magpie 启动后不久自动更新,之后每六小时一次。</li>
<li>社区的包(<code>@magpie-community/*</code>)在 magpie 启动后不久自动更新,之后每小时一次。</li>
<li>其他包有新版本时,<span class="ui">插件</span>上会出现一个小圆点,用户点一下或运行 <code>magpie plugin update</code> 更新。</li>
<li>固定了版本的写法(<code>name@1.2.3</code>)会停在那个版本,直到用户自己更新:<span class="ui">更新到 …</span>、<span class="ui">全部更新</span>和 <code>magpie plugin update</code> 会装上最新版并取消固定。</li>
</ul></li>