GDIndex icon indicating copy to clipboard operation
GDIndex copied to clipboard

Auto delete downloaded copied files

Open CodeingBoy opened this issue 6 years ago • 0 comments

Can you add an option to automatically delete the copied files after 1 day of existence? or something that prevents the user from having to delete manually. That would be very useful.

No, because the worker is stateless. Due to worker limitation, I can't record create time in worker, or run auto deletion periodically.

Quick ideas:

  1. record create time in KV and provide a button allowing user manually delete those obsoleted files
  2. (If we can) listen for ending of request and delete it

Upstream PR

CodeingBoy avatar Dec 16 '19 06:12 CodeingBoy