Reduce plugin runtime memory

This commit is contained in:
Gregory Schier
2025-02-24 12:20:47 -08:00
parent 9d5f7784c4
commit c8d6183456
11 changed files with 660 additions and 648 deletions

View File

@@ -206,7 +206,7 @@ impl PluginManager {
// Boot the plugin
let event = timeout(
Duration::from_secs(1),
Duration::from_secs(2),
self.send_to_plugin_and_wait(
window_context,
&plugin_handle,

View File

@@ -74,6 +74,7 @@ impl PluginHandle {
}
pub async fn set_boot_response(&self, resp: &BootResponse) {
info!("BOOTED PLUGIN {:?}", resp);
let mut boot_resp = self.boot_resp.lock().await;
*boot_resp = resp.clone();
}