JOJ3-config-generator/joj3_config_generator/models/const.py
张泊明518370910136 87dd8acb69
All checks were successful
build / build (push) Successful in 2m1s
chore: more consts
2025-03-15 03:23:29 -04:00

15 lines
447 B
Python

from pathlib import Path
from joj3_config_generator.models.common import Memory, Time
DEFAULT_CPU_LIMIT = Time("1s")
DEFAULT_MEMORY_LIMIT = Memory("128m")
DEFAULT_FILE_LIMIT = Memory("32m")
JOJ3_CONFIG_ROOT = Path("/home/tt/.config/joj")
TEAPOT_CONFIG_ROOT = Path("/home/tt/.config/teapot")
CACHE_ROOT = Path("/home/tt/.cache")
JOJ3_LOG_ROOT = CACHE_ROOT / "joj3"
TEAPOT_LOG_ROOT = CACHE_ROOT
ACTOR_CSV_PATH = JOJ3_CONFIG_ROOT / "students.csv"