Pioneer-Valley-Open-Science/infragram-js — pull request #41 by pfoltyn (2014-02-03 23:27:23+00:00)
Title: Periodically clean up broken files

Currently there are thousands of zero length files in ./public/upload dir.
This patch adds a function that will be run every 5 minutes on ./public/upload dir. It will find all files less then 1024 bytes in size and older then one minute and delete them.