optimizations on when to do NAT processing

This commit is contained in:
2021-09-30 16:34:26 -06:00
parent 7cdec42351
commit 4162c09433
3 changed files with 4 additions and 4 deletions

View File

@@ -2,8 +2,7 @@
(method :Void process [:Archive archive]
(doFor e (entries.iterator)
(processEntry archive e)
(archive.refreshEntry e)))
(processEntry archive e)))
(defNew [&prop :EntryChecker canProcessEntry
&prop :EntryProcessor processEntry]
@@ -18,4 +17,4 @@
(entries.remove e.id)
(when onRemoveEntry (onRemoveEntry archive e)))))
// TODO systems may need access to a UI
// TODO systems may need access to a UI or ArchiveController