fix(duckdb): add worker process isolation

This commit is contained in:
miracle authored and GitHub committed 2026-07-04 23:43:22 +08:00
1 parent 6529f22fed
commit 454457f191
26 files changed
+1694 -14

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ pub async fn save_desktop_settings(
settings: DesktopSettings,
) -> Result<(), String> {
state.storage.save_desktop_settings(&settings).await?;
state.apply_duckdb_worker_process_isolation(settings.duckdb_worker_process_isolation).await;
apply_debug_log_level(settings.debug_logging_enabled);
if let Err(err) = apply_desktop_settings(&app, &settings) {
eprintln!("Failed to apply desktop settings: {err}");