mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-06 09:30:49 +00:00
Stop dumping binary data to the console
This was freaking out and freezing the Puter server, and my entire terminal app. XD
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user