Hacker News new | ask | show | jobs
by jankassens 4057 days ago
You could test for a single file (possible with a timeout) and see if it's "fast enough" to check all files.

You could also check in the background and update the display if the heuristic turned out wrong.