tus-node-server icon indicating copy to clipboard operation
tus-node-server copied to clipboard

Replace configstore with plain json files in upload path

Open gerdus opened this issue 7 years ago • 0 comments

configstore does a few things that are problematic:

  • writes a file outside upload directory and with permissions so that group can't read/write
  • file infos are never removed so it just grows larger

Moving to plain json file per upload in the upload directory enables you to clean the directory periodically of old files without disturbing in progress uploads. Same method that tusd uses.

gerdus avatar Mar 10 '18 16:03 gerdus