mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-20 12:29:46 -06:00
perf: don't await on modifying 'accessed'
This commit is contained in:
@@ -82,7 +82,7 @@ class LLRead extends LLFilesystemOperation {
|
||||
) || range !== undefined;
|
||||
|
||||
// timestamp access
|
||||
await db.write('UPDATE `fsentries` SET `accessed` = ? WHERE `id` = ?',
|
||||
db.write('UPDATE `fsentries` SET `accessed` = ? WHERE `id` = ?',
|
||||
[Date.now() / 1000, await fsNode.get('mysql-id')]);
|
||||
|
||||
const ownerId = await fsNode.get('user_id');
|
||||
|
||||
Reference in New Issue
Block a user