fix: clone MAME and FBNeo sources per process

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 19:53:02 +02:00
1 parent 4130abb7bc
commit 3584acada0
3 files changed
+20 -2

No files matched your search

+2 -1
View File
@@ -29,7 +29,8 @@ log = logging.getLogger(__name__)
REPO_URL = "https://github.com/finalburnneo/FBNeo.git"
REPO_ROOT = Path(__file__).resolve().parent.parent.parent
CLONE_DIR = REPO_ROOT / "tmp" / "fbneo"
# One clone per process, for the reason mame_hash_scraper gives.
CLONE_DIR = REPO_ROOT / "tmp" / f"fbneo-{os.getpid()}"
CACHE_PATH = REPO_ROOT / "data" / "fbneo-hashes.json"
EMULATORS_DIR = REPO_ROOT / "emulators"
STALE_HOURS = 24