Browse Source

Stop dumping binary data to the console

This was freaking out and freezing the Puter server, and my entire
terminal app. XD
Sam Atkins 1 năm trước cách đây
mục cha
commit
f3269693de

+ 1 - 1
packages/backend/src/services/file-cache/FileCacheService.js

@@ -250,7 +250,7 @@ class FileCacheService extends AdvancedBase {
         const path = this._get_path(tracker.key);
         console.log(`precache fetch key I guess?`, tracker.key);
         const data = this.precache.get(tracker.key);
-        console.log(`path and data: ${path} ${data}`);
+        // console.log(`path and data: ${path} ${data}`);
         await fs.promises.writeFile(path, data);
         this.precache.delete(tracker.key);
         tracker.phase = FileTracker.PHASE_DISK;