()
| 456 | cache_key = f"game_folders:{base_dir}" |
| 457 | |
| 458 | def compute(): |
| 459 | try: |
| 460 | return _find_all_game_folders_impl(base_dir) |
| 461 | except TimeoutError: |
| 462 | logger.error(f"Timeout while finding game folders in {base_dir}") |
| 463 | return [] |
| 464 | |
| 465 | return _cache.get_or_compute(cache_key, compute, timeout_seconds=300) |
| 466 |
nothing calls this directly
no test coverage detected