lib/daengine/digital_asset_processor.rb in daengine-0.1.7 vs lib/daengine/digital_asset_processor.rb in daengine-0.1.8

- old
+ new

@@ -66,10 +66,10 @@ file = File.expand_path(filename, path) Daengine.log("DigitalAssetProcessor: Processing file #{filename} --- #{File.mtime(file)}", "info") open_file = File.open(file, 'rb') Daengine::TeamsiteMetadataParser.parse_tuple_file(open_file) Daengine.log("DigitalAssetProcessor: Finished processing #{filename}", "info") - @@last_read_time = File.mtime(file) + @@last_read_time = File.mtime(file) + 1.second self.save_last_read_time Daengine.log("DigitalAssetProcessor: Last process time set to #{@@last_read_time}", "info") end end end \ No newline at end of file