MetPX / sarracenia

https://MetPX.github.io/sarracenia
GNU General Public License v2.0
45 stars 22 forks source link

Add mtime Feature for sr_poll #34

Closed petersilva closed 1 year ago

petersilva commented 6 years ago

Currently sr_poll just loops through a directory, Compares the results with its cache and does a post on the difference. We have encountered issues where sr_poll is polling a file that hasn't fully been transferred into the directory. The notification is posted and a sr_sarra instance may grab the incomplete file. ​ Metpx sundew receivers have an 'mtime' feature where you can specify how old a file must be (i.e. the time since it last has been written to) before being collected. This feature would be nice to have in sr_poll as well. ​ In addition some files come in and have umasks to restrict permissions before the file has been transferred, however sr_poll will still poll these files and post them. Ignoring those files would be beneficial as well.

was: https://sourceforge.net/p/metpx/feature-requests/53/

petersilva commented 6 years ago

I think this is done. just need to check.

petersilva commented 1 year ago

It's called nodupe_fileAgeMin