Closed GoogleCodeExporter closed 9 years ago
Actually the resource isn't checked twice, it is only logged twice. The
implementation holds a map between the processed uri's and corresponding hash
(digest). If the resource was checked, the cached hash is used. So it is
optimal from this point of view. You can check the implementation. I'll create
a wiki page which describes how the ResourceWatcher works in detail.
Feel free to reopen this issue if you have other suggestions.
Original comment by alex.obj...@gmail.com
on 12 Aug 2012 at 7:01
Can the log message be different in this case then. I just wanted to count how
many files I have checked by watcher by looking up "Checking if resource"
message.
Original comment by lystoc...@gmail.com
on 12 Aug 2012 at 9:37
Ok, the log message will be improved by logging the check only when it is
actually performed.
Original comment by alex.obj...@gmail.com
on 13 Aug 2012 at 7:23
Original issue reported on code.google.com by
lystoc...@gmail.com
on 12 Aug 2012 at 6:56