Skip to content

Commit 0ac2be7

Browse files
authored
Enhance interactive 3D viz: overlays, server-side rendering, fast playback (#1310)
1 parent 5641acd commit 0ac2be7

3 files changed

Lines changed: 964 additions & 84 deletions

File tree

toolchain/mfc/viz/_step_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
logger = logging.getLogger(__name__)
3030

31-
CACHE_MAX: int = 20
31+
CACHE_MAX: int = 40
3232
_cache: dict = {}
3333
_cache_order: list = []
3434
_in_flight: set = set() # steps currently being prefetched
@@ -44,7 +44,7 @@ def _get_prefetch_pool() -> ThreadPoolExecutor:
4444
with _prefetch_pool_lock:
4545
if _prefetch_pool is None:
4646
_prefetch_pool = ThreadPoolExecutor(
47-
max_workers=1, thread_name_prefix='mfc_prefetch')
47+
max_workers=3, thread_name_prefix='mfc_prefetch')
4848
atexit.register(_prefetch_pool.shutdown, wait=False)
4949
return _prefetch_pool
5050

0 commit comments

Comments
 (0)