first of all thanks for providing such a nice module.

i have issue with /tmp folder. size of tmp folder is mounting up due to lots of download provided by download module.

please provide option/instructions to control minimum lifetime for files in tmp folder.

thanks

Comments

30equals’s picture

I'll take a look at this because indeed the module should clean up after itself. I'm happy to review any patches as well coming from the community ;)

30equals’s picture

I just committed a change to the dev branch so that tmp files are being created through the Drupal filesystem. This creates an entry in the database, so the file and db record gets deleted on running cron (i think that in a standard config, the file has to be older than 6 hours to be deleted).

Please check out the dev branch, and let me know if it works for you ;)

Randeep.Singh’s picture

thanks! your update "dev branch" seems to be working very well.

+1 for 30equals.

U R ROCKSTAR!

30equals’s picture

Status: Active » Fixed

Thnx :)

Automatically closed -- issue fixed for 2 weeks with no activity.

joco_sp’s picture

Issue summary: View changes

Can this 6 hours be reduced?