This commit is contained in:
2023-05-21 13:58:13 +08:00
parent 96b62e94cc
commit 1dd7c21bb6
7 changed files with 23 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ export class TaskManager {
constructor(cfg: Config) {
this.cfg = cfg;
this.client = new Client(cfg);
this.db = new EhDb(cfg.base);
this.db = new EhDb(cfg.db_path || cfg.base);
this.running_tasks = new Map();
this.max_task_count = cfg.max_task_count;
add_exit_handler(this);