mirror of
https://github.com/ltcptgeneral/cs239-caching.git
synced 2025-12-13 01:05:09 +00:00
add individual config files for each strategy,
config file path can be specified as the second argument
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import os
|
||||
import yaml
|
||||
import sys
|
||||
|
||||
CONFIG_FILE = "config.yaml"
|
||||
CONFIG_FILE = sys.argv[1]
|
||||
|
||||
def load_config():
|
||||
with open(CONFIG_FILE, "r") as f:
|
||||
|
||||
Reference in New Issue
Block a user