Releases: waikato-datamining/simple-file-poller
Releases · waikato-datamining/simple-file-poller
Release v0.0.11
Release v0.0.10
- added the
output_num_files
boolean property to thePoller
class, which extends the logging output by outputting ax/y
string as well (x=current file index, y=total number of files in a batch)
Release v0.0.9
- the
Poller.logging
property no longer returns thecheck_file
method
Release v0.0.8
- fixed high CPU usage (ie constant polling) when using unlimited files to list (
max_files=0
) poll_wait
andwatchdog_check_interval
are now float instead of int to allow for sub-second poll waits- internal delays when poller is busy have been dropped from 1s to 0.1s
Release v0.0.7
keyboard_interrupt
method is now public
Release v0.0.6
- fixed race condition between watchdog reacting to new files and watchdog checking for files at specific intervals
- logging now distinguishes between DEBUG/INFO/ERROR levels
- keyboard interrupts via CTRL+C are now handled correctly
- in watchdog mode, an initial scan of the input directory is now performed, in case files were already present
Release v0.0.5
- added
params
object to allow attaching of arbitrary parameters to be used by thecheck_file
andprocess_file
methods; this avoids accidentally overriding Poller attributes that were introduced in later versions.
Release v0.0.4
- added support for using watchdog for reacting to file creation events, speeding up polling
Release v0.0.3
poll
method now skips directories, which could be listed if no extensions are supplied to restrict the polling.
Release v0.0.2
- added
other_input_files
glob list anddelete_other_input_files
to manage additional files that may reside in the input directory along side the actual files that are being processed.