Further updated on caching. Small change in DB schema to make lookups a bit more performant. Note that if DB migration in the last commit has been run, this commit will need manual update of the database.
This commit is contained in:
parent
ef0464bbc9
commit
3e3c3a24fe
4 changed files with 20 additions and 23 deletions
|
@ -59,8 +59,7 @@ function ensureMailtrainOwner(file, callback) {
|
|||
}
|
||||
|
||||
async function ensureMailtrainDir(dir) {
|
||||
const ids = getConfigUidGid();
|
||||
await fs.ensureDir(dir);
|
||||
await fs.ensureDirAsync(dir);
|
||||
await ensureMailtrainOwner(dir);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue