Merge branch 'master' into clean-db-disconnects

This commit is contained in:
Matthew Raymer
2025-10-24 08:00:17 +00:00
11 changed files with 369 additions and 87 deletions

View File

@@ -53,15 +53,13 @@ export class WebPlatformService
super();
WebPlatformService.instanceCount++;
// Use debug level logging for development mode to reduce console noise
const isDevelopment = process.env.VITE_PLATFORM === "development";
const log = isDevelopment ? logger.debug : logger.log;
log("[WebPlatformService] Initializing web platform service");
logger.debug("[WebPlatformService] Initializing web platform service");
// Only initialize SharedArrayBuffer setup for web platforms
if (this.isWorker()) {
log("[WebPlatformService] Skipping initBackend call in worker context");
logger.debug(
"[WebPlatformService] Skipping initBackend call in worker context",
);
return;
}