Browse Source

add a note to fix some weird behaviour in storage/file

master
ansuz 1 year ago
parent
commit
253545636b
1 changed files with 1 additions and 1 deletions
  1. 2
      storage/file.js

2
storage/file.js

@ -343,7 +343,7 @@ const messageBin = (env, chanName, msgBin, cb) => {
chan.onError.splice(chan.onError.indexOf(complete), 1);
if (!cb) { return; }
//chan.messages.push(msg);
chan.atime = +new Date();
chan.atime = +new Date(); // FIXME seems like odd behaviour that not passing a callback would result in not updating atime...
complete();
});
});

Loading…
Cancel
Save