update atime when accessing files
This commit is contained in:
parent
46cd796db5
commit
3513e437b6
@ -470,9 +470,8 @@ const messageBin = (env, chanName, msgBin, cb) => {
|
||||
chan.writeStream.write(msgBin, function () {
|
||||
/*::if (!chan) { throw new Error("Flow unreachable"); }*/
|
||||
chan.onError.splice(chan.onError.indexOf(complete), 1);
|
||||
chan.atime = +new Date();
|
||||
if (!cb) { return; }
|
||||
//chan.messages.push(msg);
|
||||
chan.atime = +new Date(); // FIXME seems like odd behaviour that not passing a callback would result in not updating atime...
|
||||
complete();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user