mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix: 协调本地插件与绑定仓库的版本选择 (#6482)
* fix(plugin): reconcile local and bound payload versions * fix(plugin): preserve bound source on updates * fix(plugin): normalize source reconciliation ids * fix(plugin): defer local payload activation * fix(plugin): centralize startup source admission * fix(plugin): derive sync mode from admitted source
This commit is contained in:
@@ -207,7 +207,7 @@ class PluginChangeMonitor:
|
||||
else None
|
||||
)
|
||||
if runtime_plugin_id:
|
||||
last_sync_time = self._recent_sync.get(runtime_plugin_id)
|
||||
last_sync_time = self._recent_sync.get(runtime_plugin_id.lower())
|
||||
if last_sync_time and time.time() - last_sync_time < 2:
|
||||
continue
|
||||
plugins_to_reload.add(runtime_plugin_id)
|
||||
|
||||
Reference in New Issue
Block a user