- periodic scan

This commit is contained in:
Alex Ling
2020-02-16 17:20:12 +00:00
parent 26bb49fab5
commit d9129ad58f
3 changed files with 17 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ require "./library"
require "./storage"
config = Config.load
library = Library.new config.library_path
library = Library.new config.library_path, config.scan_interval
storage = Storage.new config.db_path
server = Server.new config, library, storage