Remove redundant nav entries; parallelize cleanup file checks

- Navbar: drop the Users link (already reachable from Admin's quick-links)
- Admin quick-links: drop Settings (already reachable from the navbar
  for every user)
- library_cleanup.py: parallelize the missing-file stat checks across a
  small thread pool instead of one file at a time — sequential NAS round
  trips were taking minutes for a library of any real size, even after
  moving them off the event loop.
This commit is contained in:
Myron Blair
2026-07-26 23:05:53 -05:00
parent ef5c13d587
commit 43340c0f49
3 changed files with 28 additions and 15 deletions
-1
View File
@@ -35,7 +35,6 @@ export const Navbar = () => {
<NavLink to="/music" className={linkClass} data-testid="nav-music">Music</NavLink>
<NavLink to="/requests" className={linkClass} data-testid="nav-requests">Wishlist</NavLink>
{user.is_admin && <NavLink to="/admin" className={linkClass} data-testid="nav-admin">Admin</NavLink>}
{user.is_admin && <NavLink to="/admin/users" className={linkClass} data-testid="nav-users">Users</NavLink>}
</nav>
)}
</div>