lib/rocket_job/jobs/dirmon_job.rb in rocketjob-6.0.0.rc1 vs lib/rocket_job/jobs/dirmon_job.rb in rocketjob-6.0.0.rc2
- old
+ new
@@ -80,10 +80,10 @@
# BSON Keys cannot contain periods
key = iopath.to_s.tr(".", "_")
previous_size = previous_file_names[key]
# Check every few minutes for a file size change before trying to process the file.
- size = check_file(entry, iopath, previous_size)
+ size = check_file(entry, iopath, previous_size)
new_file_names[key] = size if size
end
end
self.previous_file_names = new_file_names
end